import type { Session } from '../../../session/session.ts'; import type { SessionView } from '../../../../ops/types.ts'; import type { BuiltinCall, Result } from '../types.ts'; /** * Unset shell variables, arrays, or functions, with bash's flags. * * `-v` targets a variable only, `-f` a function only, and a bare name a * variable if one exists or else a function. A `name[idx]` operand clears * one element; the readonly guard resolves it to the base name first, * since that is what `readonly` records. `-n` (unset a nameref itself) * has no referent here — mirage has no nameref attribute — so it matches * bash on a non-nameref name and leaves it untouched. */ export declare function handleUnset(args: string[], session: Session, state?: SessionView | null): Promise; /** The `unset` arm. */ export declare function unsetBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=unset.d.ts.map