import { z } from 'zod'; import type { Attachment } from '../../forms/FormDataHelpers.js'; import { Caching, Configuration, Pagination, type RequestResponseReturnType, type RequestResponseType } from '../../shared.js'; import type { ThreekitAuthProps } from '../../ThreekitAuthProps.js'; import { Route } from '../Route.js'; export declare const ShortId: z.ZodString; export type ShortId = z.infer; export declare const SavedConfigurationId: z.ZodUnion<[z.ZodString, z.ZodString]>; export declare const SavedConfiguration: z.ZodObject; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; shortId: z.ZodString; orgId: z.ZodString; variant: z.ZodNullable>; sceneGraphState: z.ZodNullable; customerId: z.ZodNullable; identifier: z.ZodNullable; metadata: z.ZodNullable, z.objectInputType<{}, z.ZodUnknown, "strip">>]>>>; productId: z.ZodString; productVersion: z.ZodNullable; scope: z.ZodNullable; thumbnail: z.ZodNullable; attachments: z.ZodRecord; sessionId: z.ZodNullable; publishFileId: z.ZodNullable; creator: z.ZodNullable; }>, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>; export type SavedConfiguration = z.infer; export declare const SavedConfigurationListing: z.ZodObject; perPage: z.ZodOptional; sort: z.ZodOptional; }, { configurations: z.ZodArray; deletedAt: z.ZodOptional>; updatedAt: z.ZodOptional>; }, { id: z.ZodString; shortId: z.ZodString; orgId: z.ZodString; variant: z.ZodNullable>; sceneGraphState: z.ZodNullable; customerId: z.ZodNullable; identifier: z.ZodNullable; metadata: z.ZodNullable, z.objectInputType<{}, z.ZodUnknown, "strip">>]>>>; productId: z.ZodString; productVersion: z.ZodNullable; scope: z.ZodNullable; thumbnail: z.ZodNullable; attachments: z.ZodRecord; sessionId: z.ZodNullable; publishFileId: z.ZodNullable; creator: z.ZodNullable; }>, "strip", z.ZodTypeAny, { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }>, "many">; }>, "strip", z.ZodTypeAny, { configurations: { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, { configurations: { orgId: string; createdAt: string; id: string; variant: Configuration | null; sessionId: string | null; metadata: Record> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }>; export type SavedConfigurationListing = z.infer; export declare const CreateSavedConfigurationProps: z.ZodObject<{ variant: z.ZodOptional>>; sessionId: z.ZodOptional>; metadata: z.ZodOptional, z.objectInputType<{}, z.ZodUnknown, "strip">>]>>>>; customerId: z.ZodOptional>; sceneGraphState: z.ZodOptional>; shortId: z.ZodOptional; productId: z.ZodOptional; productVersion: z.ZodOptional>; attachments: z.ZodOptional>; }, "strip", z.ZodTypeAny, { variant?: Configuration | null | undefined; sessionId?: string | null | undefined; metadata?: Record> | null | undefined; customerId?: string | null | undefined; sceneGraphState?: string | null | undefined; shortId?: string | undefined; productId?: string | undefined; productVersion?: string | null | undefined; attachments?: Record | undefined; }, { variant?: Configuration | null | undefined; sessionId?: string | null | undefined; metadata?: Record> | null | undefined; customerId?: string | null | undefined; sceneGraphState?: string | null | undefined; shortId?: string | undefined; productId?: string | undefined; productVersion?: string | null | undefined; attachments?: Record | undefined; }>; export type CreateSavedConfigurationProps = z.infer & { files?: Attachment[]; }; export declare const QuerySavedConfigurationProps: z.ZodObject<{ productId: z.ZodOptional; productVersion: z.ZodOptional; shortId: z.ZodOptional; sku: z.ZodOptional; metadata: z.ZodOptional>>; fullConfiguration: z.ZodOptional; }, "strip", z.ZodTypeAny, { metadata?: Record | undefined; shortId?: string | undefined; productId?: string | undefined; productVersion?: string | undefined; sku?: string | undefined; fullConfiguration?: boolean | undefined; }, { metadata?: Record | undefined; shortId?: string | undefined; productId?: string | undefined; productVersion?: string | undefined; sku?: string | undefined; fullConfiguration?: boolean | undefined; }>; export type QuerySavedConfigurationProps = z.infer; export declare class SavedConfigurations extends Route { constructor(auth: ThreekitAuthProps); healthcheck(): Promise>; create(createProps: CreateSavedConfigurationProps): Promise> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, any>>; get(queryProps?: QuerySavedConfigurationProps, pagination?: Pagination, caching?: Caching): Promise> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }[]; sort?: string | undefined; page?: number | undefined; perPage?: number | undefined; }, any>>; getById(idOrShortId: string, caching?: Caching): Promise> | null; customerId: string | null; sceneGraphState: string | null; shortId: string; identifier: string | null; productId: string; productVersion: string | null; scope: string | null; thumbnail: string | null; attachments: Record; publishFileId: string | null; creator: string | null; createdBy?: string | undefined; deletedAt?: string | null | undefined; updatedAt?: string | null | undefined; }, any>>; getFileById(idOrShortId: string, attachmentKey: string, caching?: Caching, responseType?: T): Promise, any>>; getThumbnailById(idOrShortId: string, responseType?: T): Promise, any>>; }