import { type ClientRegistrationResult, type WriteClientRegistrationInput } from '../registration-writer.js'; /** The path this writer targets, without performing any write. */ export declare function codexRegistrationPath(homeDir: string): string; /** Whether the `[mcp_servers.mma]` table in `text` (the file's full current * content) is either absent or recognisably MMA's own -- the reachability * precondition recovery gates a restore/remove on, reusing the exact same * ownership recogniser the write/remove paths themselves apply. */ export declare function isCodexTableOwnedOrAbsent(text: string): boolean; /** Whether `text` currently contains an `[mcp_servers.mma]` table AND it is * recognisably MMA's own -- `false` both when absent and when present but * foreign/unrecognised. Read-only, used for inventory presence checks. */ export declare function isCodexTableOwned(text: string): boolean; export declare function writeCodexRegistration(input: WriteClientRegistrationInput): Promise; /** Remove the `[mcp_servers.mma]` table and nothing else -- symmetric with * {@link writeCodexRegistration}, applying the SAME ownership recogniser so it * can never delete a hand-written table a write would have refused to * overwrite. */ export declare function removeCodexRegistration(input: WriteClientRegistrationInput): Promise; //# sourceMappingURL=codex.d.ts.map