import type { AgentId } from '../../types.js';
export type EnabledExtra = {
    alias: string;
    dir: string;
};
/** Trusted source bases for content-like kinds. Project layer excluded. */
export declare function trustedSourceBases(): {
    dir: string;
}[];
/** Every `plugins/<plugin>/skills` dir across trusted source bases, filtered to an optional plugin/agent scope. */
export declare function pluginSkillDirs(options?: {
    agent?: AgentId;
    plugins?: Set<string>;
}): string[];
/** Find the trusted source for a command markdown by name. */
export declare function resolveCommandSource(name: string): string | null;
/** Find the trusted source directory for a skill by name. */
export declare function resolveSkillSource(name: string, options?: {
    agent?: AgentId;
    plugins?: Set<string>;
}): string | null;
/** List trusted plugin-bundled skill names, filtered to an optional plugin/agent scope. */
export declare function listPluginSkillNames(options?: {
    agent?: AgentId;
    plugins?: Set<string>;
}): string[];
/**
 * Find the trusted source for a hook by name.
 * - File basename (`04-session-identity.sh`) or relative path
 *   (`session-starts/04-session-identity.sh`) → script file
 * - Directory basename (`tests`) → directory bundle (fixtures-only etc.)
 */
export declare function resolveHookSource(name: string): string | null;
/** All trusted command-skill source roots, used to dedup name collisions for commands-as-skills writes. */
export declare function trustedSkillRoots(): string[];
