/** * Spectre Snap — Identity-as-a-Service SDK for React. * * Drop-in facial authentication powered by Spectre's liveness detection * and identity matching pipeline. * * @example * ```tsx * import { SpectreAuth } from '@thewhitenigs/spectre-snap'; * import '@thewhitenigs/spectre-snap/style.css'; * * function LoginPage() { * return ( * console.log('Verified!', result.sessionId)} * onFailed={(reason) => console.log('Failed:', reason)} * /> * ); * } * ``` * * @packageDocumentation */ export { SpectreAuth } from './snap/SpectreAuth.js'; export { SpectreAuthModal } from './snap/SpectreAuthModal.js'; export { SpectreAuthProvider } from './snap/SpectreAuthProvider.js'; export { SpectreError } from './shared/lib/sdk-errors.js'; export type { SpectreVerdict, SpectreAuthResult, SpectreFailureReason, SpectreAuthCallbacks, SpectreMode, SpectreTheme, SpectreLocale, SpectreAuthConfig, SpectreAuthProps, SpectreAuthModalProps, SpectreProviderConfig, } from './snap/types.js'; export type { SpectreErrorCode, SpectreErrorEnvelope, } from './shared/lib/sdk-errors.js'; //# sourceMappingURL=index.d.ts.map