/// <reference types="react" />
import { type SeamHttpApiError } from '@seamapi/http/connect';
import { type CommonProps } from '../../../../lib/seam/components/common-props.js';
import { type ResponseErrors } from '../../../../lib/ui/AccessCodeForm/AccessCodeForm.js';
export interface CreateAccessCodeFormProps extends CommonProps {
    deviceId: string;
    onSuccess?: (accessCodeId: string) => void;
}
export declare const NestedCreateAccessCodeForm: (props: CreateAccessCodeFormProps & import("../../../../lib/seam/components/common-props.js").RequiredCommonProps) => JSX.Element | null;
export declare function CreateAccessCodeForm({ className, onBack, deviceId, onSuccess, }: CreateAccessCodeFormProps): JSX.Element | null;
export declare function useResponseErrors(): {
    responseErrors: ResponseErrors | null;
    handleResponseError: (error: SeamHttpApiError) => void;
    resetResponseErrors: () => void;
};
