15 lines
548 B
TypeScript
15 lines
548 B
TypeScript
import type { Arguments as Flags } from 'yargs-parser';
|
|
import { type LogOptions } from '../core/logger/core.js';
|
|
interface LoadSettingsOptions {
|
|
cmd: string;
|
|
flags: Flags;
|
|
logging: LogOptions;
|
|
}
|
|
export declare function loadSettings({ cmd, flags, logging }: LoadSettingsOptions): Promise<import("../@types/astro.js").AstroSettings | undefined>;
|
|
export declare function handleConfigError(e: any, { cmd, cwd, flags, logging }: {
|
|
cmd: string;
|
|
cwd?: string;
|
|
flags?: Flags;
|
|
logging: LogOptions;
|
|
}): Promise<void>;
|
|
export {};
|