import { type DataProfile, type DataProfileKey } from '../spec/data-profile.js';
declare function isDataProfileKey(key: string): key is DataProfileKey;
/** Pull `profile.<key>` identifiers out of a `when` string. */
export declare function profileKeysInWhen(when: string): string[];
export declare function assertWhenUsesClosedProfile(when: string): void;
export declare function assertProfileUsesClosedKeys(profile: DataProfile): void;
/**
 * Evaluate a catalog `when` string against a profile.
 * Only `profile.<DataProfileKey>`, numbers, && || ! comparisons, and grouping.
 */
export declare function evalWhen(when: string, profile: DataProfile): boolean;
export { isDataProfileKey };
