import { type JSX, type ReactNode } from "react"; import { Concierge } from "../utils/concierge"; import type { OverrideableConciergeConfig } from "../types/concierge"; /** User-facing properties for `ConciergeProvider`. */ export interface ConciergeProviderProps { /** The wrapped element(s). */ children: ReactNode; /** * The `Concierge` instance. * * @default undefined */ concierge: Concierge; } /** * Allows to quickly access the instance in `ConciergeContext`, while also * applying instance customizations on the fly. * * @param config A contextual configuration for one-time usage. * * @returns The `Concierge` instance. */ export declare const useConcierge: (config?: Partial) => Concierge; /** * Allows to wrap your application and provide a `Concierge` instance, along * with default settings for selected hooks. * * @param props The context provider's properties. * * @returns The context provider. */ export declare const ConciergeProvider: (props: ConciergeProviderProps) => JSX.Element;