import type { EntityDescription, FieldDescription, RelationDescription } from "../clarizen-api-types.js";
export type MetadataFlag = "fields" | "relations";
export interface ListEntitiesResult {
    typeNames: string[];
}
export interface DescribeMetadataParams {
    typeNames?: string[];
    flags?: MetadataFlag[];
}
export interface DescribeMetadataResult {
    entityDescriptions: EntityDescription[];
}
export interface EntityMetadataEntry {
    typeName: string;
    label?: string;
    fields: FieldDescription[];
    relations: RelationDescription[];
}
export interface MetadataCatalog {
    fetchedAt: string;
    entities: EntityMetadataEntry[];
}
export interface FetchMetadataCatalogOptions {
    flags?: MetadataFlag[];
    batchSize?: number;
    onProgress?: (message: string) => void;
}
//# sourceMappingURL=types.d.ts.map