Files
oh-my-opencode/dist/cli/config-manager/config-context.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
641 B
TypeScript

import type { OpenCodeBinaryType, OpenCodeConfigPaths } from "../../shared/opencode-config-dir-types";
export interface ConfigContext {
binary: OpenCodeBinaryType;
version: string | null;
paths: OpenCodeConfigPaths;
}
export declare function initConfigContext(binary: OpenCodeBinaryType, version: string | null): void;
export declare function getConfigContext(): ConfigContext;
export declare function resetConfigContext(): void;
export declare function getConfigDir(): string;
export declare function getConfigJson(): string;
export declare function getConfigJsonc(): string;
export declare function getOmoConfigPath(): string;