///
interface LabelSubscription {
id: string;
}
export interface LabelAPI {
subscribe?: (data: LabelSubscription) => void;
onClick?: () => void;
data: {
htmlFor: string | undefined;
state: Record;
};
}
export declare const LabelAPI: {
Provider: {
(props: {
value: LabelAPI;
children?: string | number | boolean | {} | import("react").ReactElement import("react").ReactElement | null) | (new (props: any) => import("react").Component)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactNode[] | null | undefined;
}): JSX.Element;
displayName?: string | undefined;
};
consume: () => LabelAPI;
};
export declare const useLabelAPI: () => LabelAPI;
export declare const LabelAPIProvider: {
(props: {
value: LabelAPI;
children?: string | number | boolean | {} | import("react").ReactElement import("react").ReactElement | null) | (new (props: any) => import("react").Component)> | import("react").ReactNodeArray | import("react").ReactPortal | import("react").ReactNode[] | null | undefined;
}): JSX.Element;
displayName?: string | undefined;
};
export {};