import type { VersionedUrl } from "@blockprotocol/type-system"; import type { JSONSchema as SchemaWithOptional$id } from "json-schema-to-typescript"; export type LogLevel = "silent" | "warn" | "info" | "debug" | "trace"; /** The name of the file that contains types shared between generated files. */ export declare const sharedTypeFileName = "shared.ts"; export declare const primitiveLinkEntityTypeId: VersionedUrl; /** The suffix to append to generated types for each class of ontology type */ export declare const generatedTypeSuffix: { dataType: string; propertyType: string; entityType: string; metadataSchema: string; }; export declare const entityDefinitionNameForEntityType: (typeName: string) => string; /** A placeholder type used in the workaround in the "$ref" resolver of the JSON Schema compiler */ export declare const redundantTypePlaceholder = "PLACEHOLDER"; export type CompiledTsType = string; export type JsonSchema = SchemaWithOptional$id & { $id: VersionedUrl; title: string; kind: "metadataSchema"; }; export declare const identifiersForExternalImports: readonly ["LinkEntity", "Entity", "ArrayMetadata", "Confidence", "ObjectMetadata", "PropertyProvenance"]; export type IdentifierForExternalImport = (typeof identifiersForExternalImports)[number]; export declare const metadataSchemaKind = "metadataSchema"; /** * We already have types for these schemas generated from the Graph API, * so we just want this codegen to insert the title of the type rather than generate it again, * – we'll add import statements for the types in post-processing. */ export declare const propertyProvenanceSchema: JsonSchema; export declare const objectMetadataSchema: JsonSchema; export declare const arrayMetadataSchema: JsonSchema; export declare const confidenceMetadataSchema: JsonSchema; export declare const sharedMetadataSchemas: JsonSchema[];