import type { WorkspaceGroup } from '@scalar/components';
/**
 * Represents a workspace with team information.
 * Used to group workspaces by team or local status.
 */
export type WorkspaceItem = {
    /** Unique identifier for the workspace. */
    id: string;
    /** Display name of the workspace. */
    label: string;
    /** Team identifier. Use 'local' for local workspaces. */
    teamUid: string;
};
/**
 * Groups workspaces into team and local categories.
 * Team workspaces are listed first (if not viewing local workspaces),
 * followed by local workspaces.
 *
 * @param workspaces - Array of workspaces to group
 * @param currentTeamUid - Current team identifier ('local' for local team)
 * @returns Array of workspace groups with labels and options
 */
export declare function groupWorkspacesByTeam(workspaces: WorkspaceItem[], currentTeamUid: string): WorkspaceGroup[];
//# sourceMappingURL=group-workspaces.d.ts.map