/// <reference types="react" />
import type { AccessCode, Device } from '@seamapi/types/connect';
export interface AccessCodeFormSubmitData {
    name: string;
    code: string;
    type: AccessCode['type'];
    device: Device;
    startDate: string;
    endDate: string;
    timeZone: string;
}
export interface ResponseErrors {
    unknown?: string | undefined;
    code?: string | undefined;
}
export interface AccessCodeFormProps {
    accessCode?: AccessCode;
    device: Device;
    isSubmitting: boolean;
    onSubmit: (data: AccessCodeFormSubmitData) => void;
    responseErrors: ResponseErrors | null;
    onBack: (() => void) | undefined;
    className: string | undefined;
}
export declare function AccessCodeForm({ className, ...props }: AccessCodeFormProps): JSX.Element | null;
