export interface UseCompanySwitchOptions {
}
/**
 * Hook that handles company switching for the portal.
 *
 * Calls PUT /api/authentication/company/{id}/switch, clears the TanStack
 * Query cache and IndexedDB persisted cache, then reloads the page so all
 * queries re-fetch with the new company context.
 *
 * The server updates the session cookie automatically via the switch
 * endpoint response; no client-side token storage is needed.
 */
export declare function useCompanySwitch(_options?: UseCompanySwitchOptions): {
    switchCompany: (companyId: number) => void;
    isPending: boolean;
    isError: boolean;
    error: Error | null;
};
//# sourceMappingURL=use-company-switch.d.ts.map