/** Window event toastServerError fires for a parked `approval_required` write. */ export declare const APPROVAL_PARKED_EVENT = "metacore:approval-parked"; /** Fired after a parked request was approved (and replayed) with a PIN. */ export declare const APPROVAL_DECIDED_EVENT = "metacore:approval-decided"; /** @internal provider bookkeeping. */ export declare function gateMountedDelta(d: number): void; /** True while an is mounted (toastServerError offers the PIN action only then). */ export declare function approvalGateAvailable(): boolean; export interface ApprovalRequiredInfo { requestId: string; label?: string; roles: string[]; } /** Extracts the parked-request info from an axios error / response body, or null. */ export declare function approvalRequiredInfo(err: unknown): ApprovalRequiredInfo | null; //# sourceMappingURL=approval-events.d.ts.map