import { type ObjectType } from "../../objRef/index.js"; /** * @beta */ export interface IMdObjectIdentity { /** * Type of metadata object */ type: ObjectType; /** * Metadata object identifier */ id: string; } /** * @beta */ export interface IMdObjectBase { /** * Title */ title?: string; /** * Description */ description?: string; /** * Tags */ tags?: string[]; } /** * Shared metadata object properties. * This type represents metadata object with unique id assigned to it. * Typically metadata object, that is already persisted on the backend. * * @beta */ export interface IMdObject extends IMdObjectBase, IMdObjectIdentity { } /** * Metadata object definition. * This type represents metadata object without unique id assigned to it. * Typically metadata object, that is not yet persisted on the backend. * * @beta */ export interface IMdObjectDefinition extends IMdObjectBase, Pick { } /** * Utility type to get {@link IMdObjectDefinition} from {@link IMdObject}. * * @beta */ export type ToMdObjectDefinition = Omit; /** * Type guard checking whether input is an instance of {@link IMdObject}. * * @beta */ export declare function isMdObject(obj: unknown): obj is IMdObject; /** * Type guard checking whether input is an instance of {@link IMdObjectDefinition}. * * @beta */ export declare function isMdObjectDefinition(obj: unknown): obj is IMdObjectDefinition; //# sourceMappingURL=next.d.ts.map