import type { DropinAPIHandlers } from '../components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
export type ComponentApi = {
    updateLegalEntity: Required<DropinAPIHandlers>['handleUpdateLegalEntity'];
};
export declare const makeComponentApi: (rootLegalEntityId: string, base: string) => ComponentApi;
/**
 * @description Hook that allows use of current componentApi requests without needing to pass in context.
 * @deprecated If you only need to support v3+, consider using the api call wrapped in tanstack-query directly
 */
export declare const useComponentApi: (rootLegalEntityId: string) => ComponentApi;
