import type { ExtensionPoints } from '../shared/types/extension-points.ts';
declare function useExtensionContextInternal<TExtensionPoint extends keyof ExtensionPoints>(): import("../shared/types/extension-points.ts").ExtensionPointApiContext<TExtensionPoint>;
/**
 * Hook that provides access to contextual data for the specified extension point.
 *
 * The context contains information about the current environment where the extension
 * is running, such as the current CRM object, user information, portal settings,
 * and other relevant data specific to the extension point location.
 *
 * @typeParam TExtensionPoint - The extension point location (e.g., 'crm.record.tab', 'settings')
 * @returns The context object containing environment-specific data for the extension point
 *
 * @example
 * ```tsx
 * const context = useExtensionContext<'crm.record.tab'>();
 * // Access properties like: context.crm.objectId, context.user, context.portal
 * ```
 */
export declare const useExtensionContext: typeof useExtensionContextInternal;
export {};
