import { type AdditionalDataHolder, 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 {OptimizerClass} */ export declare function createOptimizerClassFromDiscriminatorValue(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 {Properties} */ export declare function createPropertiesFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoOptimizerClass(optimizerClass?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoProperties(properties?: Partial | undefined): Record void>; export interface OptimizerClass extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The Name property */ name?: string | null; /** * The Properties property */ properties?: Properties | null; } export interface Properties extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The aspect_ratio property */ aspectRatio?: string | null; /** * The auto_optimize property */ autoOptimize?: Properties_auto_optimize | null; /** * The blur property */ blur?: string | null; /** * The brightness property */ brightness?: string | null; /** * The contrast property */ contrast?: string | null; /** * The crop property */ crop?: string | null; /** * The crop_gravity property */ cropGravity?: Properties_crop_gravity | null; /** * The flip property */ flip?: string | null; /** * The flop property */ flop?: string | null; /** * The gamma property */ gamma?: string | null; /** * The height property */ height?: string | null; /** * The hue property */ hue?: string | null; /** * The optimizer property */ optimizer?: Properties_optimizer | null; /** * The quality property */ quality?: string | null; /** * The saturation property */ saturation?: string | null; /** * The sharpen property */ sharpen?: string | null; /** * The width property */ width?: string | null; } export type Properties_auto_optimize = (typeof Properties_auto_optimizeObject)[keyof typeof Properties_auto_optimizeObject]; export type Properties_crop_gravity = (typeof Properties_crop_gravityObject)[keyof typeof Properties_crop_gravityObject]; export type Properties_optimizer = (typeof Properties_optimizerObject)[keyof typeof Properties_optimizerObject]; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeOptimizerClass(writer: SerializationWriter, optimizerClass?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeProperties(writer: SerializationWriter, properties?: Partial | undefined | null): void; export declare const Properties_auto_optimizeObject: { readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; }; export declare const Properties_crop_gravityObject: { readonly Center: "center"; readonly Forget: "forget"; readonly East: "east"; readonly North: "north"; readonly South: "south"; readonly West: "west"; readonly Northeast: "northeast"; readonly Northwest: "northwest"; readonly Southeast: "southeast"; readonly Southwest: "southwest"; }; export declare const Properties_optimizerObject: { readonly None: "none"; readonly Image: "image"; };