import { api, apiClient } from '../apiClient';
import type { PaginatedResult } from '../../../types/pagination';
/**
 * ApiContext type matching the shape of the `api` object from apiClient.
 * Used by all domain factory functions as their parameter type.
 */
export type ApiContext = typeof api;
/**
 * Creates API methods with a specific tenant context.
 * Used when Super Admins view tenant-specific pages without "switching" to that tenant.
 */
declare const withTenantContext: (tenantSlug?: string) => ApiContext;
export { api, apiClient, withTenantContext };
export type { PaginatedResult };
//# sourceMappingURL=_shared.d.ts.map