import * as S from "effect/Schema"; import type { Simplify } from "effect/Types"; import { type B } from "./schema.js"; export interface PositiveIntBrand extends Simplify & NonNegativeIntBrand & PositiveNumberBrand> { } /** Positive integer. `.withConstructorDefault` => `1` (construction-only). */ export declare const PositiveInt: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `1`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; export type PositiveInt = number & PositiveIntBrand; export interface NonNegativeIntBrand extends Simplify & IntBrand & NonNegativeNumberBrand> { } /** Non-negative integer. `.withConstructorDefault` => `0` (construction-only). */ export declare const NonNegativeInt: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `0`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; export type NonNegativeInt = number & NonNegativeIntBrand; export interface IntBrand extends Simplify> { } /** Integer. `.withConstructorDefault` => `0` (construction-only). */ export declare const Int: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `0`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; export type Int = number & IntBrand; export interface PositiveNumberBrand extends Simplify & NonNegativeNumberBrand> { } /** Positive finite number. `.withConstructorDefault` => `1` (construction-only). */ export declare const PositiveNumber: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `1`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; export type PositiveNumber = number & PositiveNumberBrand; export interface NonNegativeNumberBrand extends Simplify> { } /** Non-negative finite number. `.withConstructorDefault` => `0` (construction-only). */ export declare const NonNegativeNumber: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `0`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; export type NonNegativeNumber = number & NonNegativeNumberBrand; /** @deprecated Not an actual decimal */ export declare const NonNegativeDecimal: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `0`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; /** @deprecated Not an actual decimal */ export type NonNegativeDecimal = NonNegativeNumber; /** @deprecated Not an actual decimal */ export declare const PositiveDecimal: import("./ext.js").WithDefaults> & import("./brand.js").BrandedSchema & { /** * Construction-only default `1`. Applied only when the field is omitted * from `.make(...)` input. NOT applied during decode — cannot be used to * JIT-migrate database fields. See file-level note. */ withConstructorDefault: S.withConstructorDefault> & import("./brand.js").BrandedSchema>; }; /** @deprecated Not an actual decimal */ export type PositiveDecimal = PositiveNumber; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVycy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL1NjaGVtYS9udW1iZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlBLE9BQU8sS0FBSyxDQUFDLE1BQU0sZUFBZSxDQUFBO0FBQ2xDLE9BQU8sS0FBSyxFQUFFLFFBQVEsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUc1QyxPQUFPLEVBQUUsS0FBSyxDQUFDLEVBQUUsTUFBTSxhQUFhLENBQUE7QUFFcEMsTUFBTSxXQUFXLGdCQUNmLFNBQVEsUUF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