import { z } from 'zod'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; export declare const Layer: z.ZodObject<{ id: z.ZodString; assetId: z.ZodString; assetLayer: z.ZodString; orgId: z.ZodString; assetVersion: z.ZodString; assetLayerConfiguration: z.ZodObject; stageId: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>; stageConfiguration: z.ZodObject; metadata: z.ZodRecord; stageMetadata: z.ZodNullable>>; jobId: z.ZodString; taskId: z.ZodString; fileId: z.ZodString; createdAt: z.ZodString; format: z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"glb">, z.ZodLiteral<"usdz">]>; width: z.ZodNullable; height: z.ZodNullable; sceneGraphState: z.ZodNullable; assetLayerConfigurationHash: z.ZodNullable; stageConfigurationHash: z.ZodNullable; }, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }, { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }>; export type Layer = z.infer; export declare const LayerWithFile: z.ZodObject; stageId: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>; stageConfiguration: z.ZodObject; metadata: z.ZodRecord; stageMetadata: z.ZodNullable>>; jobId: z.ZodString; taskId: z.ZodString; fileId: z.ZodString; createdAt: z.ZodString; format: z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"glb">, z.ZodLiteral<"usdz">]>; width: z.ZodNullable; height: z.ZodNullable; sceneGraphState: z.ZodNullable; assetLayerConfigurationHash: z.ZodNullable; stageConfigurationHash: z.ZodNullable; }, { url: z.ZodString; path: z.ZodString; }>, "strip", z.ZodTypeAny, { orgId: string; path: string; createdAt: string; assetId: string; id: string; url: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }, { orgId: string; path: string; createdAt: string; assetId: string; id: string; url: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }>; export type LayerWithFile = z.infer; export declare const QueryLayerProps: z.ZodObject<{ id: z.ZodOptional; assetId: z.ZodOptional; assetLayer: z.ZodOptional; orgId: z.ZodOptional; assetVersion: z.ZodOptional; assetLayerConfiguration: z.ZodOptional>; stageId: z.ZodOptional]>>; stageConfiguration: z.ZodOptional>; metadata: z.ZodOptional>; stageMetadata: z.ZodOptional>>>; jobId: z.ZodOptional; taskId: z.ZodOptional; fileId: z.ZodOptional; createdAt: z.ZodOptional; format: z.ZodOptional, z.ZodLiteral<"glb">, z.ZodLiteral<"usdz">]>>; width: z.ZodOptional>; height: z.ZodOptional>; sceneGraphState: z.ZodOptional>; assetLayerConfigurationHash: z.ZodOptional>; stageConfigurationHash: z.ZodOptional>; groupBy: z.ZodOptional; groupPage: z.ZodOptional>; groupPerpage: z.ZodOptional>; optimization: z.ZodOptional>; height: z.ZodOptional>; format: z.ZodOptional, z.ZodLiteral<"jpg">, z.ZodLiteral<"webp">, z.ZodLiteral<"glb">, z.ZodLiteral<"usdz">]>>>; quality: z.ZodOptional>; }, "strip", z.ZodTypeAny, { format?: "webp" | "glb" | "jpg" | "png" | "usdz" | null | undefined; quality?: number | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }, { format?: "webp" | "glb" | "jpg" | "png" | "usdz" | null | undefined; quality?: number | null | undefined; height?: number | null | undefined; width?: number | null | undefined; }>>; cacheScope: z.ZodOptional>; cacheMaxAge: z.ZodOptional>; }, "strip", z.ZodTypeAny, { orgId?: string | undefined; createdAt?: string | undefined; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; assetId?: string | undefined; id?: string | undefined; metadata?: Record | undefined; jobId?: string | undefined; taskId?: string | undefined; stageId?: string | undefined; stageConfiguration?: { [x: string]: any; } | undefined; fileId?: string | undefined; format?: "glb" | "png" | "usdz" | undefined; height?: number | null | undefined; width?: number | null | undefined; assetLayer?: string | undefined; assetVersion?: string | undefined; assetLayerConfiguration?: { [x: string]: any; } | undefined; stageMetadata?: Record | null | undefined; sceneGraphState?: string | null | undefined; assetLayerConfigurationHash?: string | null | undefined; stageConfigurationHash?: string | null | undefined; groupBy?: string | undefined; groupPage?: string | number | undefined; groupPerpage?: string | number | undefined; optimization?: { format?: "webp" | "glb" | "jpg" | "png" | "usdz" | null | undefined; quality?: number | null | undefined; height?: number | null | undefined; width?: number | null | undefined; } | undefined; }, { orgId?: string | undefined; createdAt?: string | undefined; cacheScope?: string | undefined; cacheMaxAge?: number | undefined; assetId?: string | undefined; id?: string | undefined; metadata?: Record | undefined; jobId?: string | undefined; taskId?: string | undefined; stageId?: string | undefined; stageConfiguration?: { [x: string]: any; } | undefined; fileId?: string | undefined; format?: "glb" | "png" | "usdz" | undefined; height?: number | null | undefined; width?: number | null | undefined; assetLayer?: string | undefined; assetVersion?: string | undefined; assetLayerConfiguration?: { [x: string]: any; } | undefined; stageMetadata?: Record | null | undefined; sceneGraphState?: string | null | undefined; assetLayerConfigurationHash?: string | null | undefined; stageConfigurationHash?: string | null | undefined; groupBy?: string | undefined; groupPage?: string | number | undefined; groupPerpage?: string | number | undefined; optimization?: { format?: "webp" | "glb" | "jpg" | "png" | "usdz" | null | undefined; quality?: number | null | undefined; height?: number | null | undefined; width?: number | null | undefined; } | undefined; }>; export type QueryLayerProps = z.infer; export declare const LayerListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { layers: z.ZodArray; stageId: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>; stageConfiguration: z.ZodObject; metadata: z.ZodRecord; stageMetadata: z.ZodNullable>>; jobId: z.ZodString; taskId: z.ZodString; fileId: z.ZodString; createdAt: z.ZodString; format: z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"glb">, z.ZodLiteral<"usdz">]>; width: z.ZodNullable; height: z.ZodNullable; sceneGraphState: z.ZodNullable; assetLayerConfigurationHash: z.ZodNullable; stageConfigurationHash: z.ZodNullable; }, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }, { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }>, "many">; }>, "strip", z.ZodTypeAny, { layers: { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { layers: { orgId: string; createdAt: string; assetId: string; id: string; metadata: Record; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type LayerListing = z.infer; export declare const LayerAsURL: z.ZodObject<{ url: z.ZodString; metadata: z.ZodRecord>; }, "strip", z.ZodTypeAny, { url: string; metadata: Record; }, { url: string; metadata: Record; }>; export type LayerAsURL = z.infer; export declare class Layers extends Route { constructor(auth: ThreekitAuthProps); get(queryProps?: QueryLayerProps): Promise; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, any>>; getLayer(queryProps?: QueryLayerProps): Promise; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }, any>>; getById(id: string, queryProps?: QueryLayerProps): Promise; jobId: string; taskId: string; stageId: string; stageConfiguration: { [x: string]: any; }; fileId: string; format: "glb" | "png" | "usdz"; height: number | null; width: number | null; assetLayer: string; assetVersion: string; assetLayerConfiguration: { [x: string]: any; }; stageMetadata: Record | null; sceneGraphState: string | null; assetLayerConfigurationHash: string | null; stageConfigurationHash: string | null; }, any>>; getUrl(queryProps: QueryLayerProps): Promise; }, any>>; downloadFile(queryProps: QueryLayerProps): Promise>; getDownloadUrl(queryProps: QueryLayerProps): string; }