declare module '@tinyflow-ai/vue' {
  import type { DefineComponent } from 'vue';
  import type { TinyflowData } from '@tinyflow-ai/ui';

  export const Tinyflow: DefineComponent<
    Record<string, any>,
    Record<string, any>,
    any
  >;

  export function sanitizeTinyflowDataForReadonlyPreview(
    input: TinyflowData | string,
  ): TinyflowData | null | undefined;
}
