import { type ResourceMeta } from "../../resources/store.js"; export declare function sortResourceSkills>(resources: T[], options: { owner?: string; orgId?: string | null; }): T[]; /** * Where a skill is meant to be used: * - `runtime` — only the in-app agent at runtime. * - `dev` — only the human's development/coding agent (e.g. Claude Code). * Hidden from the runtime agent everywhere. * - `both` — loaded everywhere. The default when `scope` is absent. * - `invalid` — never written by hand: the parse result for a `scope:` nobody * recognizes. See `normalizeSkillScope`. */ export type SkillScope = "runtime" | "dev" | "both" | "invalid"; export declare const DEFAULT_SKILL_SCOPE: SkillScope; export declare function normalizeSkillScope(raw: string | undefined, sourceLabel?: string): SkillScope; export declare function isRuntimeVisibleScope(scope: SkillScope | undefined): boolean; export declare function parseSkillFrontmatter(content: string, sourceLabel?: string): { name?: string; description?: string; userInvocable?: boolean; scope?: SkillScope; requiresLab?: string; };