import { CssVars } from './css-vars'; export type Language = 'sv' | 'en' | 'no' | 'da' | 'fi' | 'de' | 'is' | 'es' | 'fr' | 'it'; export interface EmbedViewDocumentOptions { /** Element or selector to mount the iframe into */ element: HTMLElement | string; /** Document ID to view */ documentId: string; /** Authentication token */ token: string; /** Custom host (default: https://app.sajn.se) */ host?: string; /** Language for the embed UI (default: 'en') */ language?: Language; /** CSS class for the iframe */ className?: string; /** CSS variables for theming */ cssVars?: CssVars & Record; /** Show scroll indicator button (default: true) */ showScrollIndicator?: boolean; /** Additional props to pass */ additionalProps?: Record; /** Called when iframe is ready */ onDocumentReady?: () => void; /** Called on error */ onDocumentError?: (data: { code: string; message: string; }) => void; } export interface EmbedViewDocumentInstance { /** Remove the iframe and cleanup listeners */ destroy: () => void; /** The iframe element */ iframe: HTMLIFrameElement; } export declare function embedViewDocument(options: EmbedViewDocumentOptions): EmbedViewDocumentInstance;