import type { CallStack } from '../../../../shell/call_stack.ts'; import type { Session } from '../../../session/session.ts'; import type { SessionView } from '../../../../ops/types.ts'; import type { BuiltinCall, Result } from '../types.ts'; /** Parse one option per call, with bash's getopts semantics. */ export declare function handleGetopts(args: readonly string[], session: Session, callStack?: CallStack | null, state?: SessionView | null): Promise; /** The `getopts` arm. */ export declare function getoptsBuiltin(call: BuiltinCall): Promise; //# sourceMappingURL=getopts.d.ts.map