/** * Copyright 2023 Fluence Labs Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export declare const validatePath: (path: string) => Promise; export declare const ensureDir: (dirPath: string) => Promise; export declare const ensureUserFluenceDir: () => Promise; export declare const getUserCountlyDir: () => Promise; export declare const ensureUserFluenceTmpNpmDir: () => Promise; export declare const ensureUserFluenceNpmDir: () => Promise; export declare const ensureUserFluenceTmpCargoDir: () => Promise; export declare const ensureUserFluenceCargoDir: () => Promise; export declare const ensureUserFluenceSecretsDir: () => Promise; export declare const recursivelyFindProjectRootDir: (initialPath: string) => Promise; export declare let projectRootDir: string; export declare const setProjectRootDir: (dir: string) => void; export declare const getAquaMainPath: (cwd?: string) => string; export declare const ensureAquaMainPath: () => Promise; export declare const getServicesDir: (cwd?: string) => string; export declare const ensureServicesDir: () => Promise; export declare const ensureModulesDir: (cwd?: string) => Promise; export declare const getSpellsDir: (cwd?: string) => string; export declare const ensureSpellsDir: () => Promise; export declare const ensureVSCodeSettingsJsonPath: () => Promise; export declare const ensureVSCodeExtensionsJsonPath: () => Promise; export declare const getGitignorePath: () => string; export declare const getCargoTomlPath: () => string; export declare const getREADMEPath: () => string; export declare const getFluenceDir: (cwd?: string) => string; export declare const getFluenceAquaDir: (cwd?: string) => string; export declare const getFluenceAquaServicesPath: (cwd?: string) => string; export declare const ensureFluenceAquaServicesPath: () => Promise; export declare const ensureFluenceAquaHostsPath: () => Promise; export declare const ensureFluenceAquaDealsPath: () => Promise; export declare const getFluenceSecretsDir: () => string; export declare const ensureFluenceSecretsDir: () => Promise; export declare function getSecretsPathForReading(isUser: boolean): Promise; export declare function getSecretsPathForWriting(isUser: boolean): Promise; export declare const getSrcPath: (cwd?: string) => string; export declare const getFrontendPath: (cwd?: string) => string; export declare const getFrontendSrcPath: (cwd?: string) => string; export declare const getFrontendIndexTSorJSPath: (isJs: boolean, cwd?: string) => string; export declare const getPackageJSONPath: () => string; export declare const getTsConfigPath: () => string; export declare const getFrontendCompiledAquaPath: () => string; export declare const ensureFrontendCompiledAquaPath: () => Promise; export declare const getViteConfigPath: (isJS: boolean) => string; export declare const getIndexHTMLPath: () => string; export declare const ensureFluenceModulesDir: () => Promise; export declare const ensureFluenceServicesDir: () => Promise; export declare const ensureFluenceSpellsDir: () => Promise; export declare const ensureFluenceTmpConfigTomlPath: () => Promise;