import { ReactChild, ReactNode } from 'react';
import { Environment } from '@contember/binding';
export declare type LabelMiddleware = (label: ReactNode, environment: Environment) => ReactNode;
export declare const LabelMiddlewareContext: import("react").Context<LabelMiddleware>;
export declare const useLabelMiddleware: () => (it: ReactNode) => ReactNode;
export declare const LabelMiddlewareProvider: ({ value, children }: {
    value: LabelMiddleware;
    children: ReactChild;
}) => JSX.Element;
//# sourceMappingURL=LabelMiddleware.d.ts.map