import { PreviewMessageParams } from '../bubble/types'; export type CommandData = { isFromTypebot: boolean; } & ({ command: 'open' | 'toggle' | 'close' | 'hidePreviewMessage'; } | ShowMessageCommandData | SetPrefilledVariablesCommandData | SetInputValueCommandData); export type ShowMessageCommandData = { command: 'showPreviewMessage'; message?: Pick; }; export type SetPrefilledVariablesCommandData = { command: 'setPrefilledVariables'; variables: Record; }; export type SetInputValueCommandData = { command: 'setInputValue'; value: string; }; //# sourceMappingURL=types.d.ts.map