import type { BotSkillPolicy, SkillPack } from './types.js'; export interface SkillReferenceBotInput { larkAppId: string; name?: string; botName?: string; skills?: BotSkillPolicy | null; } export interface SkillReferenceBot { larkAppId: string; botName: string; direct: boolean; } export interface SkillReferenceSummary { bots: SkillReferenceBot[]; /** Packs that contain the skill (directly). Empty when no pack registry is * supplied to the analyzer. */ packs: string[]; } export declare function directSkillNames(policy: BotSkillPolicy | null | undefined): string[]; /** Returns the `pack:` ids referenced by a bot policy, in policy order. */ export declare function packIdsInPolicy(policy: BotSkillPolicy | null | undefined): string[]; export declare function policyIncludesDirectSkill(policy: BotSkillPolicy | null | undefined, skillName: string): boolean; /** Returns the ids of packs that directly contain the given skill. */ export declare function packsContainingSkill(skillName: string, packs: Record | undefined): string[]; export declare function analyzeSkillReferences(skillName: string, opts: { bots: SkillReferenceBotInput[]; packs?: Record; }): SkillReferenceSummary; //# sourceMappingURL=references.d.ts.map