/** * Dependency-free helpers for checkpoint-written ontology entity files, shared * by the push leg (../cli/share.ts) and the upload primitives (../s3.ts). */ /** Vault-relative form of an hqRoot-relative (`companies//…`) or vault-relative path. */ export declare function ontologyVaultKey(relPath: string): string; /** * True iff `relPath` is an ontology entity file. Accepts an hqRoot-relative * (`companies//…`) or vault-relative path, like `isCloudAuthoritative`. */ export declare function isOntologyEntityKey(relPath: string): boolean; /** * The frontmatter `last_updated` of an entity body, as written, or null when * the body has no frontmatter, no such key, or a value that is not a date. */ export declare function entityLastUpdated(body: string): string | null; /** `{hq-entity-last-updated}` for an entity key whose body carries a valid date; `{}` otherwise. */ export declare function buildEntityMetadata(key: string, body: Buffer | string): Record; //# sourceMappingURL=ontology-entity-meta.d.ts.map