export type ActionHandler = (params: TParams) => Promise | TResponse; export type ActionHandlers = Map; export declare class CommandFrameProvider { private handlers; private origin; private isWildcardPattern; private debug; private destroyed; private boundHandleMessage; constructor(actions?: TActions, options?: { origin?: string; debug?: boolean; }); /** * Supports "*" (allow all), exact match, and wildcard subdomain * patterns like "https://*.example.com". */ private isOriginAllowed; register(action: string, handler: ActionHandler): void; unregister(action: string): void; private handleMessage; private sendResponse; destroy(): void; isDestroyed(): boolean; }