import { type ApiError, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {ErrorResponse_errors} */ export declare function createErrorResponse_errorsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {ErrorResponse_validationErrors} */ export declare function createErrorResponse_validationErrorsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {ErrorResponse} */ export declare function createErrorResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @param ErrorResponse The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoErrorResponse(errorResponse?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ErrorResponse_errors The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoErrorResponse_errors(errorResponse_errors?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @param ErrorResponse_validationErrors The instance to deserialize into. * @returns {Record void>} */ export declare function deserializeIntoErrorResponse_validationErrors(errorResponse_validationErrors?: Partial | undefined): Record void>; /** * Represents an error response returned by the system in case of a failure or exception. */ export interface ErrorResponse extends ApiError, Parsable { /** * Gets or sets the error code that identifies the type of error encountered. */ errorCode?: string | null; /** * Gets or sets the error message that provides details about the error encountered. */ errorMessage?: string | null; /** * Gets or sets a collection of errors associated with the response. */ errors?: ErrorResponse_errors | null; /** * Gets or sets the stack trace associated with the error, providing detailedinformation about the sequence of method calls that led to the exception. */ stacktrace?: string | null; /** * Gets or sets a dictionary containing validation errors associated with the request. * @deprecated */ validationErrors?: ErrorResponse_validationErrors | null; } /** * Gets or sets a collection of errors associated with the response. */ export interface ErrorResponse_errors extends Parsable { } /** * Gets or sets a dictionary containing validation errors associated with the request. * @deprecated */ export interface ErrorResponse_validationErrors extends Parsable { } /** * Serializes information the current object * @param ErrorResponse The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeErrorResponse(writer: SerializationWriter, errorResponse?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param ErrorResponse_errors The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeErrorResponse_errors(writer: SerializationWriter, errorResponse_errors?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; /** * Serializes information the current object * @param ErrorResponse_validationErrors The instance to serialize from. * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type. * @param writer Serialization writer to use to serialize this model */ export declare function serializeErrorResponse_validationErrors(writer: SerializationWriter, errorResponse_validationErrors?: Partial | undefined | null, isSerializingDerivedType?: boolean): void; //# sourceMappingURL=index.d.ts.map