UNPKG

@prismicio/types-internal

Version:
17 lines (16 loc) 578 B
import * as t from "io-ts"; import type { LegacyContentCtx, WithTypes } from "../LegacyContentCtx"; export declare const UIDContentType = "UIDContent"; export declare const isUIDContent: (u: unknown) => u is { __TYPE__: "UIDContent"; value: string; }; export declare const UIDLegacy: (ctx: LegacyContentCtx) => t.Type<{ __TYPE__: "UIDContent"; value: string; }, WithTypes<string>, unknown>; export declare const UIDContent: t.TypeC<{ __TYPE__: t.LiteralC<"UIDContent">; value: t.StringC; }>; export declare type UIDContent = t.TypeOf<typeof UIDContent>;