import { GlobalOptions } from "../types.js";
import { Workspace } from "../commands/workspace/workspace.js";
export type Context = {
    workspace: string;
    baseUrl: string;
    urlStore: string;
    token: string;
};
export declare function tryResolveBranchWorkspace(opts: GlobalOptions): Promise<Workspace | undefined>;
export declare function resolveWorkspace(opts: GlobalOptions): Promise<Workspace>;
export declare function fetchVersion(baseUrl: string): Promise<string>;
export declare function tryResolveVersion(opts: GlobalOptions): Promise<number | undefined>;
export declare function validatePath(path: string): boolean;
//# sourceMappingURL=context.d.ts.map