UNPKG

rn-local-authentication

Version:
17 lines (16 loc) 359 B
export interface BiometrySelectSpec<T, F, N, A> { touchId?: T; faceId?: F; none?: N; android?: A; } /** * Select value by current biometry type * * @param spec */ declare function select<T, F, N, A>(spec: BiometrySelectSpec<T, F, N, A>): T | F | N | A | undefined; export declare const Biometry: { select: typeof select; }; export {};