import type { BaseMethod } from '../../api/BaseMethod'; import type { Device } from '../../device/Device'; import type { ProtocolV2UiInteractionCoordinator } from './uiInteraction'; export type ProtocolV2UnlockContext = { preflightCompleted: boolean; preflightStatusRefreshed?: boolean; preflightMainPinSelected?: boolean; }; export declare const createProtocolV2UnlockContext: () => ProtocolV2UnlockContext; type RunnableMethod = Pick & { name?: string; protocolV2UnlockContext?: ProtocolV2UnlockContext; }; type UiInteractionCoordinator = Pick; type RunMethodWithUnlockPolicyOptions = { context?: ProtocolV2UnlockContext; uiCoordinator?: UiInteractionCoordinator; afterStatusBeforeUnlock?: () => void | Promise; prepare?: () => Promise; run?: () => Promise; }; export declare function runMethodWithUnlockPolicy(method: RunnableMethod, device: Device, options?: RunMethodWithUnlockPolicyOptions): Promise; export {}; //# sourceMappingURL=unlockPolicyRunner.d.ts.map