import type { ExtendConfig, ExtendConfigFn } from '@rstest/core'; export interface LynxConfigOptions { /** * The root path of the project. * * @default `process.cwd()` */ rootPath?: string; /** * The path to the Lynx config file. * * @default `lynx.config.ts` */ configPath?: string; } export interface RstestConfigOptions { /** * Customize the generated rstest config. */ modifyRstestConfig?: (config: ExtendConfig) => ExtendConfig | Promise; } export interface LynxRstestConfigOptions extends LynxConfigOptions, RstestConfigOptions { } export declare function withDefaultConfig(options?: RstestConfigOptions): ExtendConfigFn; export declare function withLynxConfig(options?: LynxRstestConfigOptions): ExtendConfigFn;