@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
10 lines • 701 B
TypeScript
import type { RedirectResult } from '../../../../context/session_context.ts';
import type { CallStack } from '../../../../shell/call_stack.ts';
import type { SessionView } from '../../../../view/types.ts';
import type { SessionState } from '../../../session/session.ts';
import type { BuiltinCall } from '../types.ts';
/** Parse one option per call, with bash's getopts semantics. */
export declare function handleGetopts(args: readonly string[], session: SessionState, callStack?: CallStack | null, state?: SessionView | null): Promise<RedirectResult>;
/** The `getopts` arm. */
export declare function getoptsBuiltin(call: BuiltinCall): Promise<RedirectResult>;
//# sourceMappingURL=getopts.d.ts.map