import type { Config, PagedResponse } from '../../types/index.js'; export type CustomMetadataSchemaProperty = { title: string; type: string; description: string; }; export type CustomMetadataSchema = { title: string; type: string; description: string; properties?: Record; }; export type PublicationTargetType = { name: string; restrictedValues: string[]; customMetadataSchema?: CustomMetadataSchema; }; export type ContentType = { code: string; publicationTargetTypes: PublicationTargetType[]; }; export type ContentTypes = PagedResponse; export type GetContentTypes = (spaceCode: string, config?: Config) => Promise;