import { SpectreAuthCallbacks } from './types.js'; import { Phase, ScanResult } from '../features/face-scan/model/types.js'; /** * Bridge hook that translates internal scan orchestrator events * into the public SpectreAuth callback interface. * * This is the equivalent of the "postMessage → callback" bridge in the * classic Snap pattern, implemented as direct React callback wiring since * we are not using iframes. */ export declare function useSnapCallbacks(callbacks: SpectreAuthCallbacks, phase: Phase, result: ScanResult | null, cameraReady: boolean): { resetCallbacks: () => void; fireClose: () => void; }; //# sourceMappingURL=useSnapCallbacks.d.ts.map