import { APIHandler as API } from '../api'; import { gwAPIHandler as gwAPI } from '../gw'; import { APIProxyHandler } from '../apiProxy'; interface ProjectConfig { API_BASE_URL: string | null; WS_BASE_URL: string | null; GW_BASE_URL: string | null; GW_PROXY_URL: string | null; PROXY_API_BASE_URL: string | null; } interface ProjectMetadata { projectName: string | null; projectURL: string | null; projectHmac?: string; extraMeta: { application_name?: string; /** Project identifier (UUID) - new field */ project_id?: string; /** @deprecated Use project_id instead. Kept for backwards compatibility with old projects. */ project_name?: string; project_description?: string; application_description?: string; application_category?: string; initialization_status?: string; creation_time?: string; }; } type APIHandlerType = ReturnType; type GwAPIHandlerType = ReturnType; type ProxyHandlerType = ReturnType; type ProxyFetchType = (input: RequestInfo | URL, init?: RequestInit) => Promise; type ProxyGetViewType = (schema: string, viewName: string, parameters: { [key: string]: string | number | boolean; }) => Promise<{ [key: string]: any; }[]>; interface ProjectContextValue { config: ProjectConfig; projectMetadata: ProjectMetadata; setProjectMetadata: React.Dispatch>; syncToken: string; setSyncToken: () => void; selectedComponentId: string; setSelectedComponentId: React.Dispatch>; selectedComponentXPath: string; setSelectedComponentXPath: React.Dispatch>; selectedComponentHTML: string; setSelectedComponentHTML: React.Dispatch>; isComponentSubselected: boolean; setIsComponentSubselected: React.Dispatch>; APIHandler: APIHandlerType; gwAPIHandler: GwAPIHandlerType; proxyHandler: ProxyHandlerType; proxyFetch: ProxyFetchType | null; proxyGetView: ProxyGetViewType | null; } declare const ProjectContext: import("react").Context; declare const ProjectProvider: (props: { config: ProjectConfig; metadata?: ProjectMetadata; children?: React.ReactNode; }) => JSX.Element; export { ProjectContext, ProjectProvider, type ProjectContextValue }; //# sourceMappingURL=projectContext.d.ts.map