import type { Refinement } from "@effect-ts/system/Function"; import type * as fc from "fast-check"; import type { ParserEnv } from "../Parser.js"; import type * as Th from "../These.js"; import type { Annotation } from "./annotation.js"; import type { AnyError } from "./error.js"; import type { ApiSelfType, Schema, SchemaAny } from "./schema.js"; export declare function opaque(): (schema: Schema) => Schema>; export declare function named(name: Name): (self: Schema) => Schema; export declare function identity(guard: (_: unknown) => _ is A): Schema; export declare function constructor(f: (_: NewConstructorInput) => Th.These): (self: Schema) => Schema; export declare function constructor_(self: Schema, f: (_: NewConstructorInput) => Th.These): Schema; export declare function parser(f: (_: NewParserInput, env?: ParserEnv) => Th.These): (self: Schema) => Schema; export declare function parser_(self: Schema, f: (_: NewParserInput) => Th.These): Schema; export declare function arbitrary(f: (_: typeof fc) => fc.Arbitrary): (self: Schema) => Schema; export declare function arbitrary_(self: Schema, f: (_: typeof fc) => fc.Arbitrary): Schema; export declare function encoder(f: (_: ParsedShape) => A): (self: Schema) => Schema; export declare function encoder_(self: Schema, f: (_: ParsedShape) => A): Schema; export declare function refine(refinement: Refinement, error: (value: ParsedShape) => E): (self: Schema) => Schema; export declare function mapParserError(f: (e: E) => E1): (self: Schema) => Schema; export declare function mapConstructorError(f: (e: E) => E1): (self: Schema) => Schema; export declare function mapApi(f: (e: E) => E1): (self: Schema) => Schema; export declare function identified_(self: Schema, identifier: Annotation, meta: Meta): Schema; export declare function annotate(annotation: Annotation, meta: Meta): (annotation: Annotation, meta: Meta) => SchemaAny; }>(self: Self) => ReturnType; export declare function guard_(self: Schema, guard: (u: unknown) => u is ParsedShape): Schema; export declare function guard(guard: (u: unknown) => u is ParsedShape): (self: Schema) => Schema; export declare function into_(self: Schema, that: Schema): Schema; export declare function into(that: Schema): (self: Schema) => Schema; //# sourceMappingURL=primitives.d.ts.map