import { AiMessagePreview } from '../types';
export type PreviewElement = {
    id: string;
    type: string;
    label: string;
    parentId?: string;
    children?: string[];
    attributes?: Record<string, unknown>;
    styles?: Record<string, string>;
    tablet?: Record<string, string>;
    mobile?: Record<string, string>;
};
export type StagePreviewArgs = {
    baseElementId: string;
    elements: PreviewElement[];
};
export type StagePreviewResult = {
    success: true;
    elementCount: number;
};
type TemplatePreview = Extract<AiMessagePreview, {
    baseElementId: string;
}>;
export declare const transformStagePreview: (args: StagePreviewArgs) => TemplatePreview;
export {};
