import { z } from 'zod'; import { Color } from './color'; export declare const stopZ: z.ZodObject<{ key: z.ZodString; color: z.ZodUnion, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>]>; position: z.ZodNumber; switched: z.ZodOptional; }, z.core.$strip>; export type Stop = z.infer; export declare const gradientZ: z.ZodArray, z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>, z.ZodObject<{ rgba255: z.ZodTuple<[z.ZodInt, z.ZodInt, z.ZodInt, z.ZodNumber], null>; }, z.core.$strip>, z.ZodObject<{ r: z.ZodInt; g: z.ZodInt; b: z.ZodInt; a: z.ZodNumber; }, z.core.$strip>]>; position: z.ZodNumber; switched: z.ZodOptional; }, z.core.$strip>>; export type Gradient = Stop[]; export declare const fromGradient: (gradient: Gradient, position: number) => Color; //# sourceMappingURL=gradient.d.ts.map