/**
 * Hook optimized for team search dropdowns
 *
 * Fetches all user teams (excludes system admin team) with search support.
 * Returns up to 100 teams - suitable for dropdown/combobox use.
 *
 * For full pagination support, use useAdminTeams instead.
 * For current user's teams only, use useUserTeams instead.
 *
 * @param search - Search term (filters by team name or owner email)
 * @param enabled - Whether the query should run (default: true)
 *
 * @example
 * ```tsx
 * // Searchable team dropdown
 * function TeamDropdown({ onSelect }) {
 *   const [search, setSearch] = useState('')
 *   const debouncedSearch = useDebounce(search, 300)
 *
 *   const { teams, totalCount, isLoading } = useTeamSearch(debouncedSearch)
 *
 *   return (
 *     <Combobox>
 *       <Input value={search} onChange={setSearch} />
 *       {isLoading ? (
 *         <Spinner />
 *       ) : (
 *         <ComboboxList>
 *           {teams.map(team => (
 *             <ComboboxItem
 *               key={team.id}
 *               onSelect={() => onSelect(team.id)}
 *             >
 *               {team.name} ({team.owner.name})
 *             </ComboboxItem>
 *           ))}
 *         </ComboboxList>
 *       )}
 *       <p>{totalCount} teams available</p>
 *     </Combobox>
 *   )
 * }
 * ```
 */
export declare function useTeamSearch(search?: string, enabled?: boolean): {
    /** List of teams matching search */
    teams: import(".").TeamWithOwner[];
    /** Total count of user teams */
    totalCount: number;
    /** Loading state */
    isLoading: boolean;
    /** Fetching state (for search updates) */
    isFetching: boolean;
    /** Error if any */
    error: Error;
};
export type UseTeamSearchReturn = ReturnType<typeof useTeamSearch>;
//# sourceMappingURL=useTeamSearch.d.ts.map