import { PieConfig } from '../types'; /** * React context that carries the {@link PieConfig} object supplied to a * PieRoot. All runtime configuration (API server URL, Centrifuge URL, * logging flag, page processor mode) flows through this context so that * utilities can be plain hooks instead of reading from `process.env`. */ export declare const PieConfigContext: import("react").Context; /** * Returns the current {@link PieConfig} from {@link PieConfigContext}. * * @throws Error When called outside of a PieRoot — the context will be * `null` and no sensible default exists. * @returns The config object provided to the enclosing PieRoot. */ export declare const usePieConfig: () => PieConfig; /** * Convenience hook returning the `apiServer` field from the current * {@link PieConfig}. Must be called inside a PieRoot. */ export declare const useApiServer: () => string; /** @deprecated Use useApiServer() instead */ export declare const getApiServer: () => string; /** * Convenience hook returning the `centrifugeServer` field from the current * {@link PieConfig}. Returns `undefined` when Centrifuge is not configured. */ export declare const useCentrifugeServer: () => string | undefined; /** @deprecated Use useCentrifugeServer() instead */ export declare const getCentrifugeServer: () => string | undefined; /** * Convenience hook returning the `enableRenderingLog` flag from the current * {@link PieConfig}. Used by internal components to gate verbose logging. */ export declare const useIsRenderingLogEnabled: () => boolean | undefined; /** @deprecated Use useIsRenderingLogEnabled() instead */ export declare const isRenderingLogEnabled: () => boolean | undefined; /** * Convenience hook returning the `pageProcessor` field from the current * {@link PieConfig}. Used by root components to decide how the page should * be initialized (for example, whether to auto-expand Telegram WebApp). */ export declare const usePageProcessor: () => string | undefined; /** @deprecated Use usePageProcessor() instead */ export declare const getPageProcessor: () => string | undefined; /** * Separator token used by {@link pieName} to build nested component names * of the form `parent{PIEBREAK}child`. Keeping it in one place ensures the * UI configuration generator and the runtime agree on the delimiter. */ export declare const PIEBREAK = "__piedemo__"; //# sourceMappingURL=pieConfig.d.ts.map