export declare const DEFAULT_RUNTIME_PACKAGE = "@meetquinn/animactl"; export declare const RUNTIME_METADATA_VERSION = 1; export interface RuntimePathOptions { packageName?: string; runtimeDir?: string; } export interface RuntimePaths { animaBin: string; animactlBin: string; animactlScript: string; metadataPath: string; packageDir: string; packageJsonPath: string; runtimeDir: string; wrapperPackageJsonPath: string; } export interface RuntimeInstallOptions extends RuntimePathOptions { channel?: string; npmCommand?: string; runner?: RuntimeInstallRunner; version?: string; } export interface RuntimeInstallResult { installed: boolean; metadata: RuntimeMetadata; paths: RuntimePaths; stderr: string; stdout: string; } export interface RuntimeMetadata { installedAt: string; packageDir: string; packageName: string; requested: string; runtimeDir: string; schemaVersion: typeof RUNTIME_METADATA_VERSION; specifier: string; version: string; } export interface RuntimeStatus { installed: boolean; metadata?: RuntimeMetadata; packageName: string; paths: RuntimePaths; version?: string; } export interface RuntimePackageInfo { name: string; rootDir: string; version: string; } export type RuntimeInstallRunner = (command: string, args: string[], options: { cwd: string; env: NodeJS.ProcessEnv; }) => Promise<{ stderr: string; stdout: string; }>; interface PackageSpecifierInput { channel?: string; packageName?: string; version?: string; } export declare function resolveManagedAnimaHome(env?: NodeJS.ProcessEnv): string; export declare function managedRuntimePaths(options?: RuntimePathOptions): RuntimePaths; export declare function defaultRuntimeDir(animaHome?: string): string; export declare function packageSpecifier(input: PackageSpecifierInput): string; export declare function currentRuntimePackageInfo(): Promise; export declare function installManagedRuntime(options?: RuntimeInstallOptions): Promise; export declare function ensureManagedRuntime(options?: RuntimeInstallOptions): Promise; export declare function readManagedRuntimeStatus(options?: RuntimePathOptions): Promise; export {}; //# sourceMappingURL=managed-runtime.d.ts.map