import { OmitProperty } from "./omit-property.js"; /** * Provides convenience functions for object mappers. * * Use these to map to constant values, or to omit the property. * * @category runtime */ export declare const mapFromAsync: { /** * Returns a function that always returns a constant value. * * ```ts * const objectMapperSchema = { * out: mapFrom.constant('Hello'), * } * ``` */ constant(this: void, value: TValue): () => Promise; /** * Returns the symbol {@linkcode OmitProperty}, which will tell the * mapper to omit the property from the output object. * * ```ts * const objectMapperSchema = { * out: mapFrom.omit, * } * ``` */ omit(this: void): Promise; /** * Always map the output value to `null` * * ```ts * const objectMapperSchema = { * out: mapFrom.null, * } * ``` */ null(this: void): Promise; /** * Always map the output value to `undefined` * * ```ts * const objectMapperSchema = { * out: mapFrom.undefined, * } * ``` */ undefined(this: void): Promise; }; //# sourceMappingURL=map-from-async.d.ts.map