/**
 * Top-level resource profiles.
 *
 * These are distinct from model-provider run profiles in lib/profiles.ts. A
 * resource profile is a global mode switch stored in agents.yaml that filters
 * the resolved DotAgents resource view and secrets bundles.
 */
import type { ResourceProfilePreset } from './types.js';
export type ProfiledResourceKind = 'commands' | 'skills' | 'hooks' | 'subagents' | 'plugins' | 'workflows' | 'permissions' | 'mcp' | 'memory' | 'secrets';
export type PatternedProfileKind = Exclude<ProfiledResourceKind, 'memory' | 'secrets'>;
export interface ActiveResourceProfile {
    name: string;
    preset: ResourceProfilePreset;
}
export declare function validateResourceProfileName(name: string): void;
export declare function listResourceProfileNames(): string[];
export declare function getResourceProfilePreset(name: string): ResourceProfilePreset | null;
export declare function getActiveResourceProfileName(): string | null;
export declare function getActiveResourceProfile(): ActiveResourceProfile | null;
export declare function upsertResourceProfilePreset(name: string, preset: ResourceProfilePreset): void;
export declare function setActiveResourceProfile(name: string | null): void;
export declare function patternedProfileKinds(): PatternedProfileKind[];
export declare function activeRulesPreset(): string | null;
export declare function filterNamesForActiveResourceProfile(kind: ProfiledResourceKind, names: string[], sourceMap?: Map<string, string>): string[];
export declare function isNameActiveInResourceProfile(kind: ProfiledResourceKind, name: string, source?: string): boolean;
export declare function assertNameActiveInResourceProfile(kind: ProfiledResourceKind, name: string): void;
