import React from "react";
import type { SideProps } from ".";
interface State<P extends SideProps = SideProps> {
    Component: React.ComponentType<P> | null | undefined;
    props?: P;
    open: boolean;
}
export declare let setSide: <P extends SideProps = SideProps>(Component?: State<P>["Component"], props?: State<P>["props"]) => void;
interface ContextValue<P extends SideProps = SideProps> {
    state: State<P>;
    setSide: (Component?: React.ComponentType<P>, props?: P) => void;
}
export declare const context: React.Context<ContextValue<SideProps>>;
export declare const useSide: () => ContextValue;
declare const SideProvider: ({ children }: {
    children: React.ReactNode;
}) => JSX.Element;
export default SideProvider;
//# sourceMappingURL=Provider.d.ts.map