import { InputConfig as Config, Field, FieldType, FieldEvent, StylesTuple } from './types'; type Options = Omit; type EventListener = (event: FieldEvent['type'], callback: (...args: any[]) => void) => void; declare class SecureInput { frameUrl: string; parentOrigin: string; frame: HTMLIFrameElement; type: FieldType; options: Options; addEventListener: EventListener; removeEventListener: EventListener; private ready; _resolveReady: () => void; complete: boolean; constructor(config?: Config); _postMessage(message: { type: string; data?: Partial & { styles?: StylesTuple; type?: string; value?: string; }; }): Promise; update(data: Options): void; setPlaceholder(placeholder: Options['placeholder']): void; setStyles(styles: Options['styles']): void; clear(): void; focus(): void; redactValue(): void; unredactValue(): void; setEnterKeyHint(value: 'next' | 'done'): void; } export { SecureInput };