import { PropsWithChildren } from 'react';
export type AdditionalPropertyContextType = {
    dropProperty: (event?: any) => void;
};
/**
 * The `AdditionalPropertyContext` is a custom context object used to pass the `dropProperty` handler to the items within
 * a particular additional property.
 *
 * In RJSF, dropping an entire additional property is handled at the `object` level. In the Synapse Annotations UI,
 * we treat all additional properties (a.k.a. custom annotations) as arrays, and render the delete control at the `array`
 * level. RJSF does not normally provide the drop property handler at the `array` level, so we capture it and pass it
 * along using this context.
 */
export declare const AdditionalPropertyContext: import("react").Context<AdditionalPropertyContextType | undefined>;
export type AdditionalPropertyContextProviderProps = PropsWithChildren<{
    value: AdditionalPropertyContextType;
}>;
export declare function AdditionalPropertyContextProvider(props: AdditionalPropertyContextProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const AdditionalPropertyContextConsumer: import("react").Consumer<AdditionalPropertyContextType | undefined>;
export declare function useAdditionalPropertyContext(): AdditionalPropertyContextType | undefined;
//# sourceMappingURL=AdditionalPropertyContext.d.ts.map