import type { CreateTeamRequest } from '../lib/teams/types';
/**
 * Hook to manage current user's teams (for team switchers, settings, etc.)
 *
 * This is a backward-compatible wrapper around the new team hooks architecture.
 * For new code, prefer using the specialized hooks from '@nextsparkjs/core/hooks/teams':
 *
 * - useUserTeams: For current user's teams (same as this hook)
 * - useAdminTeams: For admin team management with pagination
 * - useTeamSearch: For searchable team dropdowns
 *
 * @example
 * ```tsx
 * // In team switcher
 * const { teams, isLoading, createTeam } = useTeams()
 *
 * // Preferred import for new code:
 * import { useUserTeams } from '@nextsparkjs/core/hooks/teams'
 * ```
 */
export declare function useTeams(): {
    teams: import("./teams").Team[];
    isLoading: boolean;
    error: Error;
    createTeam: import("@tanstack/react-query").UseMutateFunction<import("./teams").Team, Error, CreateTeamRequest, unknown>;
    createTeamAsync: import("@tanstack/react-query").UseMutateAsyncFunction<import("./teams").Team, Error, CreateTeamRequest, unknown>;
    isCreating: boolean;
};
//# sourceMappingURL=useTeams.d.ts.map