/** * Flag for setting a specific index file. * * @category Internals */ export declare const forceIndexTrigger = "--index"; /** * All args for the CLI. This is automatically generated inside of {@link runCli} via * {@link parseArgs}. * * @category Internals */ export type CliArgs = { forceIndex: string | undefined; silent: boolean; checkOnly: boolean; files: string[]; }; /** * Parse all CLI args out of a raw CLI arg string. * * @category Internals */ export declare function parseArgs(rawArgs: ReadonlyArray, filePath: string): Promise; /** * Run the `md-code` CLI. * * @category Main */ export declare function runCli({ cwd, rawArgs, cliFilePath, }: Readonly<{ rawArgs: ReadonlyArray; cwd?: string; /** The file that is executing the CLI script. Used to determine CLI argument positioning. */ cliFilePath?: string; }>): Promise;