import type { AuthenticationChatOption, LoadPreviousSessionChatOption } from './types';
export declare function getSanitizedInitialMessages(initialMessages: string): string[];
export declare function getSanitizedI18nConfig(config: Record<string, string>): Record<string, string>;
export declare function getSanitizedCustomCss(customCss: string): string;
export declare function createPage({ instanceId, webhookUrl, showWelcomeScreen, loadPreviousSession, i18n: { en }, initialMessages, authentication, allowFileUploads, allowedFilesMimeTypes, customCss, enableStreaming, }: {
    instanceId: string;
    webhookUrl?: string;
    showWelcomeScreen?: boolean;
    loadPreviousSession?: LoadPreviousSessionChatOption;
    i18n: {
        en: Record<string, string>;
    };
    initialMessages: string;
    mode: 'test' | 'production';
    authentication: AuthenticationChatOption;
    allowFileUploads?: boolean;
    allowedFilesMimeTypes?: string;
    customCss?: string;
    enableStreaming?: boolean;
}): string;
