import '@dotenvx/dotenvx/config.js'; import RTLogger from './logger.js'; import type { FilePath } from './types.js'; import RTDocumentedError from './error.js'; import type { ErrorMeta } from "./types.js"; import type { ErrorCode } from '../generated/types/errors.js'; import type { ObjectMapper } from '../generated/types/object-util.js'; import { RepoTherapyBase } from './base.js'; import type { ValueTypeDefinition } from '../generated/types/value-types.js'; import RTObjectUtil from './object-util.js'; import type { AppEnv, BaseEnv } from '../generated/types/env.js'; import RTEnv from './env.js'; export type Options = { debug?: boolean; app?: string; environment?: string; }; export default class RepoTherapy extends RepoTherapyBase> { private _logger; get logger(): RTLogger<{}, RTLogger<{}, any>>; get directories(): `/${string}`[]; get options(): Options & CustomOptions; protected readonly generatedDir: string; private _errorClass; get errorClass(): new (code: T, input?: { fields?: (string | number | undefined)[]; path?: string[]; message?: string; } & (Error | {}), fn?: Function) => RTDocumentedError; private _valueType; get valueType(): ValueTypeDefinition; private _objectUtil; get objectUtil(): RTObjectUtil; get app(): string; private _appOptions; get appOptions(): string[]; get appEnvOptions(): string[]; private _envUtil; get envUtil(): RTEnv, AppEnv, {}>; get env(): Omit & { app?: string; appEnv: string; }; get environment(): string; get repoRoot(): string; get appRoot(): FilePath; constructor(options?: Options & CustomOptions); protected _setUtil & string>(key: K, fn: (repoTherapy: RepoTherapy) => RepoTherapy[K] | Promise[K]>): void; findFile(namespace: string[], path: FilePath): FilePath[]; findFile(namespace: string[], path: FilePath, stopOnFound: true): FilePath; importScript(namespace: string[], path: `${FilePath}.ts`): Promise<{ import: T; path: `${FilePath}.ts`; } | undefined>; importScript(namespace: string[], path: `${FilePath}.ts`, all: true): Promise<{ import: T; path: `${FilePath}.ts`; }[]>; importScriptDir(namespace: string[], dir: FilePath): Promise<[string, { path: `${FilePath}.ts`; import: T; }][]>; generateFile(path: FilePath, content: string): void; generateTypeDefinition(): Promise; loadCli(): Promise; extendValueType>(meta: Meta): ValueTypeDefinition; getScriptNameFromPath(prefix: FilePath, path: FilePath): string | undefined; } //# sourceMappingURL=repo-therapy.d.ts.map