@rajkrajpj/cultivate-ui-library
Version:
A modern, type-safe, accessible React component library for fintech investor forms. Build complete investor forms in minutes with zero configuration, supporting multiple regulations (RegA+, RegD, RegCF) and investor types.
51 lines (50 loc) • 1.54 kB
TypeScript
import { z } from 'zod';
import { StepComponentProps } from '../../types/steps';
export declare const trustAddressSchema: z.ZodObject<{
sameAsAuthorized: z.ZodOptional<z.ZodBoolean>;
trustAddress1: z.ZodString;
trustAddress2: z.ZodOptional<z.ZodString>;
trustCity: z.ZodString;
trustState: z.ZodString;
trustZip: z.ZodString;
trustCountry: z.ZodString;
address1: z.ZodString;
address2: z.ZodOptional<z.ZodString>;
city: z.ZodString;
state: z.ZodString;
zip: z.ZodString;
country: z.ZodString;
}, "strip", z.ZodTypeAny, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
trustAddress1: string;
trustCity: string;
trustState: string;
trustZip: string;
trustCountry: string;
address2?: string | undefined;
sameAsAuthorized?: boolean | undefined;
trustAddress2?: string | undefined;
}, {
country: string;
address1: string;
city: string;
state: string;
zip: string;
trustAddress1: string;
trustCity: string;
trustState: string;
trustZip: string;
trustCountry: string;
address2?: string | undefined;
sameAsAuthorized?: boolean | undefined;
trustAddress2?: string | undefined;
}>;
export type TrustAddressFieldsData = z.infer<typeof trustAddressSchema>;
export interface TrustAddressFieldsProps extends StepComponentProps<TrustAddressFieldsData> {
}
export declare const TrustAddressFields: React.FC<TrustAddressFieldsProps>;
export default TrustAddressFields;