export type PartialBy = Omit & Partial>; /** * An object that says by its type which kind of entity it is. * @category Format types */ export type WithType = { /** * The type discriminator for this object. * @see rdf:type */ readonly type: T; }; /** * An object the edition identifies, so that others can refer to it. * @category Format types */ export type WithId = { /** * A unique identifier for this object. */ readonly id: string; }; /** Whether a value is a date as the format writes one, `YYYY-MM-DD`. */ export declare const isDateString: (value: unknown) => value is string; /** The items by the key each of them gives, every group in the order its first item came in. */ export declare const groupBy: (items: readonly T[], keyOf: (item: T) => string) => Map; /** * An object that may carry a note in free text. * @category Format types */ export type WithNote = { /** * A free-text note providing additional context. * @see crm:P3 has note */ note?: string; };