import { PaymentMethodFormListenerOptions } from './payment-method-form'; export type PlaidBankUiOptions = { renderToken: string; requireAchVerification?: boolean; intent?: "payment" | "setup"; appearance?: PaymentMethodFormListenerOptions["appearance"]; onValidityChange?: PaymentMethodFormListenerOptions["onValidityChange"]; }; /** * Parent-page Plaid Embedded Institution Search. Unset theme variables * inherit from the host document, then fall back to {@link ThemeVariable} * defaults; `appearance.themeVariables` overrides with the same replace * model as the iframe. */ export declare function attachPlaidBankUi({ host, iframe, options, }: { host: HTMLElement; iframe: HTMLIFrameElement; options: PlaidBankUiOptions; }): { update: (patch: Partial) => void; destroy: () => void; };