kwikid-components
Version:
KwikID's Components Library
17 lines (16 loc) • 795 B
TypeScript
import { DeviceInstructions } from "./permission-checker.definitions";
export declare type DeviceType = "android" | "ios" | "windows";
export declare const LOCATION_TIMEOUT = 20000;
export declare const INITIALIZATION_DELAY_MS = 500;
export declare const NEXT_PERMISSION_REQUEST_DELAY_MS = 1000;
export declare const ALREADY_GRANTED_PERMISSION_DELAY_MS = 800;
export declare type OverallStatus = "pending" | "in-progress" | "completed" | "error";
export declare const DEFAULT_OVERALL_STATUS: OverallStatus;
export declare const DEVICE_PERMISSION_INSTRUCTIONS: DeviceInstructions;
export interface PermissionBaseConfig {
title: string;
description: string;
granted: boolean;
status: string;
}
export declare const DEFAULT_PERMISSION_CONFIGS: Record<string, PermissionBaseConfig>;