import { EnvVariables } from '../env/loadEnv'; /** * Determines if the util is being run as a script * @public * @param fileName - The file we are checking as the initial file callig the logic * @returns a boolean with true if the process is being ran as a script, otherwise false */ export declare const isRunAsScript: (fileName: string) => boolean; /** * Mechanism for synchronous wait. * Usage: `await this.sleep(5000)` * @param milliseconds - the number of milliseconds to wait * @internal */ export declare const sleep: (milliseconds?: number) => Promise; /** * Fetches a list of files, filtered by an ignore list * @param envIgnoreFiles - environment variable to use for lists of ignored files * @param exclude - manual overrides to the ignore files list * @internal */ export declare const getIgnoredFiles: (envIgnoreFiles: EnvVariables, exclude?: string) => string[]; /** * Returns true if the fileName is in the ignore pattern * @param envIgnoreFiles - environment variable to use for ignoring files * @param fileName - name of path to ignore * @param exclude - optional string value of path(s) to exclude from the ignore equation * @public */ export declare const isIgnored: (envIgnoreFiles: EnvVariables, fileName: string, exclude?: string) => boolean; //# sourceMappingURL=utils.d.ts.map