import { RequestSettings } from './types'; export type RequestSettingsProviderProps = { children?: React.ReactNode; passwordProtectRequestHooks?: boolean; lockRoutes?: { home: string; login: string; }; defaultSettings?: Partial; }; export declare function getRouteToSaveAsPrev(pathname: string, routes: { home: string; login: string; }): string; /** * The app settings context allows you to configure all app settings and * preferences such as the api address, password, currency, etc. */ export declare const useRequestSettings: () => { requestSettings: { api: string; loginWithCustomApi: boolean; password?: string; recentApis: { [api: string]: { lastUsed: number; }; }; autoLock?: boolean; autoLockTimeout?: number; }; setRequestSettings: (values: Partial) => void; lock: () => void; isUnlockedAndAuthedRoute: boolean; passwordProtectRequestHooks: boolean | undefined; setOnLockCallback: (key: string, callback: (() => void) | undefined) => void; }; export declare function RequestSettingsProvider({ children, ...props }: RequestSettingsProviderProps): import("react/jsx-runtime").JSX.Element;