/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. * * Dependency-free process argument accessors. Kept separate from script cleanup/logging so latency-sensitive CLI * dispatchers can read argv without loading the ResourceError, ConsoleLogger, and async-init graphs. */ export type UnsafeCLIArgument = string & { __unsafeCLIArgumentBrand: never; }; export type UnsafeCLIArguments = ReadonlyArray; /** * The one blessed accessor for user CLI arguments. */ export declare function cliArguments(): UnsafeCLIArguments; /** * Forward the CLI arguments to a child process. * * Do not use this function unless its arguments are being passed to a child process. */ export declare function passThroughCLIArguments(): readonly unknown[]; /** * The path of the executing script (`argv[1]`). */ export declare function scriptEntryPath(): string; //# sourceMappingURL=arguments.d.ts.map