import { GraphQLScalarType, type GraphQLScalarTypeConfig } from "graphql";
import { z } from "zod";
export type Amount = {
    unit?: string;
    value: number;
};
export type ScalarType = {
    input: Amount;
    output: Amount;
};
export declare const type = "{ unit?: string, value?: number }";
export declare const typedef = "scalar Amount";
export declare const schema: z.ZodObject<{
    unit: z.ZodOptional<z.ZodString>;
    value: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    value: number;
    unit?: string | undefined;
}, {
    value: number;
    unit?: string | undefined;
}>;
export declare const stringSchema = "z.object({ unit: z.string().optional(), value: z.number().finite() })";
export declare const config: GraphQLScalarTypeConfig<Amount, Amount>;
export declare const scalar: GraphQLScalarType<Amount, Amount>;
//# sourceMappingURL=Amount.d.ts.map