/** * Studio Binding utilities. * * Read/write/delete `.aexol/aexol.jsonc` — the local file that links a * repository directory to an Aexol Studio project. */ export interface StudioBinding { projectId: string; teamId?: string; name?: string; $schema?: string; } /** Absolute path to the studio binding file for a given cwd. */ export declare function getBindingFilePath(cwd?: string): string; /** * Strip JSONC comments (line // and block comments) from raw source text. * Kept simple — the binding file shape is well-known. */ export declare function stripJsoncComments(raw: string): string; /** * Read and parse the local Studio binding file. * Returns `null` when no binding file exists (file missing, or directory * absent — treated the same way: not bound). */ export declare function readStudioBinding(cwd?: string): Promise; /** * Read a Studio binding from an explicit project directory. */ export declare function readStudioBindingAt(projectPath: string): Promise; /** * Write (create or overwrite) the local Studio binding file in the current * working directory (or under the provided cwd). */ export declare function writeStudioBinding(binding: StudioBinding, cwd?: string): Promise; /** * Write a Studio binding under an explicit project directory. */ export declare function writeStudioBindingAt(projectPath: string, binding: StudioBinding): Promise; /** * Delete the local Studio binding file in the current working directory * (or under the provided cwd). Returns `true` if a file was actually removed. */ export declare function deleteStudioBinding(cwd?: string): Promise; /** * Delete the Studio binding file under an explicit project directory. */ export declare function deleteStudioBindingAt(projectPath: string): Promise; //# sourceMappingURL=studio-binding.d.ts.map