import { Identity } from "@icp-sdk/core/agent"; import { Config, Dependency } from "./types.js"; export declare let apiVersion: string; export declare let globalConfigDir: string; export declare let globalCacheDir: string; export declare let getIdentity: () => Promise; export declare function getClosestConfigFile(dir?: string): string; export declare function getRootDir(): string; /** * Resolve a path from mops.toml config (relative to project root) * into a path relative to the current working directory. */ export declare function resolveConfigPath(configPath: string): string; export declare function checkConfigFile(exitCode?: number): void; export declare function progressBar(step: number, total: number): string; export declare function parseGithubURL(href: string): { org: string; gitName: string; branch: string; commitHash: string; }; export declare function getGithubCommit(repo: string, ref: string): Promise; export declare function getDependencyType(version: string): "local" | "mops" | "github"; export declare function parseDepValue(name: string, value: string): Dependency; export declare function readConfig(configFile?: string): Config; export declare function getGlobalMocArgs(config: Config): string[]; export declare function writeConfig(config: Config, configFile?: string): void; export declare function formatDir(name: string, version: string): string; export declare function formatGithubDir(name: string, repo: string): string; export declare function checkApiCompatibility(): Promise; export declare function version(): any;