export interface TSurveyRunnable {
  regex: RegExp;
  runnableName: string;
  callback: (kwargs?: Record<string, unknown>) => Promise<void>;
  kwargs?: Record<string, unknown>;
  /**
   * Invoked instead of `callback` on subsequent action-bar clicks once the app has already
   * been mounted once. Use this to toggle/re-show existing app state rather than re-running
   * the full mount entrypoint. If omitted, `callback` is invoked again on every click.
   */
  reMountRequest?: () => void;
}
