export declare const AGENT_WORKSPACE_SHORT_ID_MIN_LENGTH = 8;
export declare const AGENT_WORKSPACE_SHORT_ID_STEP = 4;
export type AgentWorkspaceLocator = {
    id: string;
    name?: string | null;
    workspaceKey?: string | null;
};
export declare function normalizeAgentWorkspaceSlug(value: string | null | undefined): string;
export declare function extractAgentWorkspaceShortId(agentId: string, length?: number): string;
export declare function buildAgentWorkspaceKey(name: string | null | undefined, agentId: string, shortIdLength?: number): string;
export declare function deriveUniqueAgentWorkspaceKey(input: {
    agentId: string;
    name: string | null | undefined;
    existingKeys?: Iterable<string>;
}): string;
export declare function resolveStoredOrDerivedAgentWorkspaceKey(agent: AgentWorkspaceLocator): string;
//# sourceMappingURL=agent-workspace-key.d.ts.map