import type { ApiSelfType } from "../_schema.js"; import * as S from "../_schema.js"; import type { DefaultSchema } from "./withDefaults.js"; export interface LiteralApi extends ApiSelfType { readonly literals: KS; readonly matchS: (_: { [K in KS[number]]: (_: K) => A; }) => (ks: S.GetApiSelfType) => A; readonly matchW: any; }>(_: M) => (ks: S.GetApiSelfType) => { [K in keyof M]: ReturnType; }[keyof M]; } export declare const literalIdentifier: S.Annotation<{ literals: readonly string[]; }>; export declare function literal(...literals: KS): DefaultSchema>; //# sourceMappingURL=literal.d.ts.map