interface CwdParams { cwd: string; } interface CwdInfo { name: string | null; isMonorepo: boolean; isRoot: boolean; rootPath: string | null; isJs: boolean; isSwc: boolean; isBabel: boolean; isTs: boolean; isLib: boolean; isApp: boolean; isNest: boolean; isNext: boolean; } type FindPathParams = { name?: string; } | string; interface GetPathsParams { cwd?: string; name?: string; scriptsDir?: string; lskrc?: boolean; exts?: string[]; } interface LskrcConfig { path?: string; rootPath?: string | null; [key: string]: any; } interface Logger { fatal(...args: any[]): void; error(...args: any[]): void; warn(...args: any[]): void; info(...args: any[]): void; debug(...args: any[]): void; trace(...args: any[]): void; } export type { CwdInfo, CwdParams, FindPathParams, GetPathsParams, Logger, LskrcConfig };