import type { Sourceable } from "../util/source.js"; import type { SchemaOptions } from "./Schema.js"; import { Schema } from "./Schema.js"; /** Allowed options for `ThroughSchema` */ export interface ThroughSchemaOptions extends SchemaOptions { source: Schema; } /** Schema that passes through to a source schema. */ export declare abstract class ThroughSchema extends Schema implements Sourceable> { readonly source: Schema; constructor({ source, ...options }: ThroughSchemaOptions); validate(unsafeValue: unknown): T; }