import { FC } from 'react'; import { NewShopSchemaWithIdSchema } from '../validators/shop.validator'; export type FormField = 'address' | 'vendor' | 'apiKey' | 'apiSecretKey' | 'adminApiAccessToken' | 'webhooks'; type Props = { mode: 'create'; shop: Partial; onChange: (shop: Partial>) => void; validator: (shop: unknown) => Promise>; initialError: Partial>; isDisabled?: boolean; } | { mode: 'edit'; shop: Pick; onChange: (shop: Pick) => void; validator: (shop: unknown) => Promise>; initialError: Partial>; isDisabled?: boolean; }; export declare const ShopForm: FC; export {};