import { SerializedData } from '../serialization/json';
export type SignRequestSignerInputCustomValidationValidationTypeField = 'custom' | string;
export declare class SignRequestSignerInputCustomValidation {
    /**
     * Defines the validation format for the text input as custom.
     * A custom regular expression is used for validation. */
    readonly validationType: SignRequestSignerInputCustomValidationValidationTypeField;
    /**
     * Regular expression used for validation. */
    readonly customRegex?: string | null;
    /**
     * Error message shown if input fails custom regular expression validation. */
    readonly customErrorMessage?: string | null;
    readonly rawData?: SerializedData;
    constructor(fields: Omit<SignRequestSignerInputCustomValidation, 'validationType'> & Partial<Pick<SignRequestSignerInputCustomValidation, 'validationType'>>);
}
export interface SignRequestSignerInputCustomValidationInput {
    /**
     * Defines the validation format for the text input as custom.
     * A custom regular expression is used for validation. */
    readonly validationType?: SignRequestSignerInputCustomValidationValidationTypeField;
    /**
     * Regular expression used for validation. */
    readonly customRegex?: string | null;
    /**
     * Error message shown if input fails custom regular expression validation. */
    readonly customErrorMessage?: string | null;
    readonly rawData?: SerializedData;
}
export declare function serializeSignRequestSignerInputCustomValidationValidationTypeField(val: SignRequestSignerInputCustomValidationValidationTypeField): SerializedData;
export declare function deserializeSignRequestSignerInputCustomValidationValidationTypeField(val: SerializedData): SignRequestSignerInputCustomValidationValidationTypeField;
export declare function serializeSignRequestSignerInputCustomValidation(val: SignRequestSignerInputCustomValidation): SerializedData;
export declare function deserializeSignRequestSignerInputCustomValidation(val: SerializedData): SignRequestSignerInputCustomValidation;
export declare function serializeSignRequestSignerInputCustomValidationInput(val: SignRequestSignerInputCustomValidationInput): SerializedData;
export declare function deserializeSignRequestSignerInputCustomValidationInput(val: SerializedData): SignRequestSignerInputCustomValidationInput;
