import { z } from 'zod'; import { type ThreekitAxiosContext } from '../../../operators/HttpContext.js'; import { Configuration, type RequestResponseReturnType, type RequestResponseType } from '../../../shared.js'; import { type ThreekitAuthProps } from '../../../ThreekitAuthProps.js'; export declare enum MeshCompression { Draco = "draco", Meshopt = "meshopt", Quantize = "quantize", None = "none" } export declare enum ImageFormat { Ktx2 = "ktx2", Webp = "webp", Original = "original" } export declare const GlbExportProps: z.ZodObject<{ assetId: z.ZodString; configuration: z.ZodOptional>; cache: z.ZodOptional; cacheScope: z.ZodOptional; cacheMaxAge: z.ZodOptional; version: z.ZodOptional, z.ZodLiteral<"experimental">]>>; settings: z.ZodOptional, z.ZodObject<{ arExport: z.ZodOptional; prune: z.ZodOptional; childless: z.ZodOptional; }, "strip", z.ZodTypeAny, { invisible?: boolean | undefined; childless?: boolean | undefined; }, { invisible?: boolean | undefined; childless?: boolean | undefined; }>>; }, "strip", z.ZodTypeAny, { arExport?: boolean | undefined; prune?: { invisible?: boolean | undefined; childless?: boolean | undefined; } | undefined; }, { arExport?: boolean | undefined; prune?: { invisible?: boolean | undefined; childless?: boolean | undefined; } | undefined; }>]>>; }, "strip", z.ZodTypeAny, { assetId: string; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; configuration?: Configuration | undefined; cache?: boolean | undefined; version?: "platform" | "experimental" | undefined; settings?: Record | { arExport?: boolean | undefined; prune?: { invisible?: boolean | undefined; childless?: boolean | undefined; } | undefined; } | undefined; }, { assetId: string; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; configuration?: Configuration | undefined; cache?: boolean | undefined; version?: "platform" | "experimental" | undefined; settings?: Record | { arExport?: boolean | undefined; prune?: { invisible?: boolean | undefined; childless?: boolean | undefined; } | undefined; } | undefined; }>; export type GlbExportProps = z.infer; export declare const GlbExportResult: z.ZodObject<{ fileId: z.ZodString; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; fileId: string; }, { url: string; fileId: string; }>; export type GlbExportResult = z.infer; export declare const GlbOptimizeProps: z.ZodObject<{ sourceUrl: z.ZodString; dedup: z.ZodOptional; prune: z.ZodOptional; instance: z.ZodOptional; instanceMinimum: z.ZodOptional; simplify: z.ZodOptional; simplifyError: z.ZodOptional; meshCompression: z.ZodOptional>; textureFormat: z.ZodOptional>; textureSize: z.ZodOptional; cacheScope: z.ZodOptional; cacheMaxAge: z.ZodOptional; }, "strip", z.ZodTypeAny, { sourceUrl: string; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; prune?: boolean | undefined; dedup?: boolean | undefined; instance?: boolean | undefined; instanceMinimum?: number | undefined; simplify?: boolean | undefined; simplifyError?: number | undefined; meshCompression?: MeshCompression | undefined; textureFormat?: ImageFormat | undefined; textureSize?: number | undefined; }, { sourceUrl: string; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; prune?: boolean | undefined; dedup?: boolean | undefined; instance?: boolean | undefined; instanceMinimum?: number | undefined; simplify?: boolean | undefined; simplifyError?: number | undefined; meshCompression?: MeshCompression | undefined; textureFormat?: ImageFormat | undefined; textureSize?: number | undefined; }>; export type GlbOptimizeProps = z.infer; export declare class Glb { context: ThreekitAxiosContext; constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; exportToFile(props: GlbExportProps): Promise>; exportGlb(props: GlbExportProps): Promise>; exportGlbAsUrl(props: GlbExportProps): string; optimize(props: GlbOptimizeProps, responseType?: T): Promise, any>>; getOptimizeUrl(props: GlbOptimizeProps): string; }