import type { ProcessScope } from '../types.ts';
/**
 * How far past its own session a profile reaches into processes. A session
 * always sees and stops its own processes. `list` widens what `ps` and a
 * handler's process view see; `kill` widens what they may stop, and never
 * past `list`. `max` caps the live processes the session holds, its
 * running line included, as `ulimit -u` counts the shell; null for no cap.
 */
export interface ProcessPermissions {
    readonly list: ProcessScope;
    readonly kill: ProcessScope;
    readonly max: number | null;
}
export declare const DEFAULT_PROCESS_PERMISSIONS: ProcessPermissions;
/** A profile's `processes`: a bare scope for both, or a mapping of the fields. */
export declare function parseProcessPermissions(value: unknown): ProcessPermissions;
export declare function restrictProcesses(a: ProcessPermissions, b: ProcessPermissions): ProcessPermissions;
//# sourceMappingURL=config.d.ts.map