import { VarAttr } from '../../../../shell/variable.ts'; import type { Session } from '../../../session/session.ts'; import type { SessionView } from '../../../../ops/types.ts'; import type { Result } from '../types.ts'; /** * Mark names readonly, or print them (`readonly -p` / bare `readonly`). * * With no name operands, prints every readonly name as `declare -r` (or * `declare -ar` for arrays). Invalid options fail with status 2. */ export declare function handleReadonly(assignments: string[], session: Session, state?: SessionView | null, arrays?: { name: string; append: boolean; items: string[]; }[] | null, stored?: string[] | null, assoc?: boolean, shaping?: ReadonlySet): Promise; //# sourceMappingURL=readonly.d.ts.map