import React from 'react'; declare type UrlMethod = 'PUT' | 'GET' | 'HEAD' | 'POST' | 'PATCH' | 'TRACE' | 'DELETE' | 'CONNECT' | 'OPTIONS'; declare type Response = { code: string; examples: string[]; }; declare type UrlSpec = { id: string; name: string; template: string; method: UrlMethod; responses: Response[]; tags: string[]; }; declare type EnvSpec = { id: string; name: string; baseUrl?: string; queryParams?: Record; }; declare type DataStorageItemSetter = (key: string, value: string, prefix: string) => void; declare type DataStorageItemGetter = (key: string, prefix: string) => string; declare type DataStorage = { setItem: DataStorageItemSetter; getItem: DataStorageItemGetter; }; declare type Spec = { id: string; urls: UrlSpec[]; envs: EnvSpec[]; }; declare type DataResolver = { parse: (obj: unknown) => Spec; }; interface Schema { title?: string; multipleOf?: number; maximum?: number; exclusiveMaximum?: boolean; minimum?: number; exclusiveMinimum?: boolean; maxLength?: number; minLength?: number; pattern?: string; maxItems?: number; minItems?: number; uniqueItems?: boolean; maxProperties?: number; minProperties?: number; required?: [string, ...string[]]; enum?: [unknown, ...unknown[]]; type?: 'array' | 'boolean' | 'integer' | 'number' | 'object' | 'string'; not?: Schema; allOf?: Schema[]; oneOf?: Schema[]; anyOf?: Schema[]; items?: Schema; properties?: { [k: string]: Schema; }; additionalProperties?: Schema | boolean; description?: string; format?: string; nullable?: boolean; readOnly?: boolean; writeOnly?: boolean; deprecated?: boolean; } declare type ButtonPosition = { left?: string; right?: string; top?: string; bottom?: string; }; declare type PathfinderProviderProps = { children: JSX.Element; storage: DataStorage; resolver: DataResolver; defaultSpecs?: Schema[]; dataKey: string; active?: boolean; buttonPosition?: ButtonPosition; }; declare const Pathfinder: ({ children, resolver, storage, dataKey, defaultSpecs, buttonPosition, active, }: PathfinderProviderProps) => React.JSX.Element; declare const openApiResolver: DataResolver; declare const storage: DataStorage; export { Pathfinder, type Schema, openApiResolver, storage };