import { type StorageContext, type StorageEntry, type StorageOwnerOptions } from './storage-client.js';
export declare const SKILLS_STORAGE_PREFIX = ".shortcut/skills/";
export interface RemoteSkillFile {
    entry: StorageEntry;
    storagePath: string;
    storageContext: StorageContext;
    ownerTeamId?: string;
}
export interface TeamSkillFilesResult {
    files: RemoteSkillFile[];
    errors: string[];
}
export interface DuplicateTeamSkill {
    skillName: string;
    ownerTeamIds: string[];
}
/** List all skill files for a given storage context. */
export declare function listSkillFiles(accessToken: string, storageContext: StorageContext, ownerTeamId?: string): Promise<RemoteSkillFile[]>;
export declare function listAuthorizedTeamSkillFiles(accessToken: string, authorizedSkillTeamIds: readonly string[]): Promise<TeamSkillFilesResult>;
export declare function storageOwnerOptionsForRemoteSkillFile(file: RemoteSkillFile): StorageOwnerOptions;
export declare function groupRemoteFilesBySkill(files: RemoteSkillFile[]): Map<string, RemoteSkillFile[]>;
export declare function findDuplicateTeamSkills(teamBySkill: Map<string, RemoteSkillFile[]>): DuplicateTeamSkill[];
export declare function formatDuplicateTeamSkillError(duplicate: DuplicateTeamSkill): string;
//# sourceMappingURL=remote-skill-files.d.ts.map