import type { Router } from "./router.js";
declare function lastSegment(name: string): string;
declare function validateAgentIds(ids: unknown): {
    ok: true;
    ids: string[];
} | {
    ok: false;
    error: string;
};
export declare function registerRemoveSkillRoutes(router: Router, root?: string): void;
export declare const __test__: {
    SAFE_NAME: RegExp;
    SAFE_AGENT_ID: RegExp;
    VALID_SCOPES: ReadonlySet<string>;
    validateAgentIds: typeof validateAgentIds;
    lastSegment: typeof lastSegment;
};
export {};
