type JSONContent = Record<string, unknown>;
type APIProductsBrowseResult = Omit<{
    data: (({
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
        category: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
        } | null;
        productTaxRate: {
            createdAt: string;
            updatedAt: string;
            taxRateId: string;
            productId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        productCollections: {
            position: string | null;
            productId: string;
            collectionId: string;
            collection: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                filter: {
                    type: "manual";
                } | {
                    type: "dynamicPrice";
                    min?: number | null | undefined;
                    max?: number | null | undefined;
                };
                storeId: string;
                description: JSONContent | null;
            };
        }[];
        bundleProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            bundleId: string;
            quantity: number;
            variantId: string;
            variant: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    images: string[];
                    productTaxRate: {
                        createdAt: string;
                        updatedAt: string;
                        taxRateId: string;
                        productId: string;
                        taxRate: {
                            id: string;
                            name: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            rate: string;
                            label: string | null;
                        };
                    } | null;
                    variants: {
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                    }[];
                };
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
            };
        }[];
        tr: {
            locale: string;
        }[];
        variants: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                storeId: string;
                price: string;
                calculatedPrice: string | null;
                variantId: string;
            }[];
        }[];
        subscriptionPlanProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            productId: string;
            subscriptionPlanId: string;
            subscriptionPlan: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                interval: number;
                active: boolean;
                storeId: string;
                description: string | null;
                position: number;
                cadence: "month" | "week";
                discountPercent: number;
                benefits: string | null;
            };
        }[];
    } & {
        variants: ({
            id: string;
            price: string;
        } & {
            prePromotionPrice: undefined;
        })[];
    }) | ({
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
        category: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
        } | null;
        productTaxRate: {
            createdAt: string;
            updatedAt: string;
            taxRateId: string;
            productId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        productCollections: {
            position: string | null;
            productId: string;
            collectionId: string;
            collection: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                filter: {
                    type: "manual";
                } | {
                    type: "dynamicPrice";
                    min?: number | null | undefined;
                    max?: number | null | undefined;
                };
                storeId: string;
                description: JSONContent | null;
            };
        }[];
        bundleProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            bundleId: string;
            quantity: number;
            variantId: string;
            variant: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    images: string[];
                    productTaxRate: {
                        createdAt: string;
                        updatedAt: string;
                        taxRateId: string;
                        productId: string;
                        taxRate: {
                            id: string;
                            name: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            rate: string;
                            label: string | null;
                        };
                    } | null;
                    variants: {
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                    }[];
                };
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
            };
        }[];
        tr: {
            locale: string;
        }[];
        variants: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                storeId: string;
                price: string;
                calculatedPrice: string | null;
                variantId: string;
            }[];
        }[];
        subscriptionPlanProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            productId: string;
            subscriptionPlanId: string;
            subscriptionPlan: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                interval: number;
                active: boolean;
                storeId: string;
                description: string | null;
                position: number;
                cadence: "month" | "week";
                discountPercent: number;
                benefits: string | null;
            };
        }[];
    } & {
        variants: ({
            id: string;
            price: string;
        } & {
            prePromotionPrice: undefined;
        })[];
    }) | ({
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
        category: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
        } | null;
        productTaxRate: {
            createdAt: string;
            updatedAt: string;
            taxRateId: string;
            productId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        productCollections: {
            position: string | null;
            productId: string;
            collectionId: string;
            collection: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                filter: {
                    type: "manual";
                } | {
                    type: "dynamicPrice";
                    min?: number | null | undefined;
                    max?: number | null | undefined;
                };
                storeId: string;
                description: JSONContent | null;
            };
        }[];
        bundleProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            bundleId: string;
            quantity: number;
            variantId: string;
            variant: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    images: string[];
                    productTaxRate: {
                        createdAt: string;
                        updatedAt: string;
                        taxRateId: string;
                        productId: string;
                        taxRate: {
                            id: string;
                            name: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            rate: string;
                            label: string | null;
                        };
                    } | null;
                    variants: {
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                    }[];
                };
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
            };
        }[];
        tr: {
            locale: string;
        }[];
        variants: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                storeId: string;
                price: string;
                calculatedPrice: string | null;
                variantId: string;
            }[];
        }[];
        subscriptionPlanProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            productId: string;
            subscriptionPlanId: string;
            subscriptionPlan: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                interval: number;
                active: boolean;
                storeId: string;
                description: string | null;
                position: number;
                cadence: "month" | "week";
                discountPercent: number;
                benefits: string | null;
            };
        }[];
    } & {
        variants: ({
            id: string;
            price: string;
        } & {
            prePromotionPrice: undefined;
        })[];
    }) | ({
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
        category: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
        } | null;
        productTaxRate: {
            createdAt: string;
            updatedAt: string;
            taxRateId: string;
            productId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        productCollections: {
            position: string | null;
            productId: string;
            collectionId: string;
            collection: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                filter: {
                    type: "manual";
                } | {
                    type: "dynamicPrice";
                    min?: number | null | undefined;
                    max?: number | null | undefined;
                };
                storeId: string;
                description: JSONContent | null;
            };
        }[];
        bundleProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            bundleId: string;
            quantity: number;
            variantId: string;
            variant: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    images: string[];
                    productTaxRate: {
                        createdAt: string;
                        updatedAt: string;
                        taxRateId: string;
                        productId: string;
                        taxRate: {
                            id: string;
                            name: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            rate: string;
                            label: string | null;
                        };
                    } | null;
                    variants: {
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                    }[];
                };
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
            };
        }[];
        tr: {
            locale: string;
        }[];
        variants: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                storeId: string;
                price: string;
                calculatedPrice: string | null;
                variantId: string;
            }[];
        }[];
        subscriptionPlanProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            productId: string;
            subscriptionPlanId: string;
            subscriptionPlan: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                interval: number;
                active: boolean;
                storeId: string;
                description: string | null;
                position: number;
                cadence: "month" | "week";
                discountPercent: number;
                benefits: string | null;
            };
        }[];
    } & {
        variants: ({
            id: string;
            price: string;
        } & {
            prePromotionPrice: undefined;
            price: string;
        })[];
    }) | ({
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
        category: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
        } | null;
        productTaxRate: {
            createdAt: string;
            updatedAt: string;
            taxRateId: string;
            productId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        productCollections: {
            position: string | null;
            productId: string;
            collectionId: string;
            collection: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                filter: {
                    type: "manual";
                } | {
                    type: "dynamicPrice";
                    min?: number | null | undefined;
                    max?: number | null | undefined;
                };
                storeId: string;
                description: JSONContent | null;
            };
        }[];
        bundleProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            bundleId: string;
            quantity: number;
            variantId: string;
            variant: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    images: string[];
                    productTaxRate: {
                        createdAt: string;
                        updatedAt: string;
                        taxRateId: string;
                        productId: string;
                        taxRate: {
                            id: string;
                            name: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            rate: string;
                            label: string | null;
                        };
                    } | null;
                    variants: {
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                    }[];
                };
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
            };
        }[];
        tr: {
            locale: string;
        }[];
        variants: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                storeId: string;
                price: string;
                calculatedPrice: string | null;
                variantId: string;
            }[];
        }[];
        subscriptionPlanProducts: {
            createdAt: string;
            updatedAt: string;
            position: number;
            productId: string;
            subscriptionPlanId: string;
            subscriptionPlan: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                interval: number;
                active: boolean;
                storeId: string;
                description: string | null;
                position: number;
                cadence: "month" | "week";
                discountPercent: number;
                benefits: string | null;
            };
        }[];
    } & {
        variants: ({
            id: string;
            price: string;
        } & {
            prePromotionPrice: string | null;
        })[];
    }))[];
    meta: {
        count: number;
        countPublished: number;
        countDraft: number;
        countHidden: number;
        nextCursor: string | undefined;
    };
}, "data"> & {
    data: Array<{
        data: (({
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
            category: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                storeId: string;
                description: JSONContent | null;
                position: string;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                longDescription: JSONContent | null;
                parentId: string | null;
            } | null;
            productTaxRate: {
                createdAt: string;
                updatedAt: string;
                taxRateId: string;
                productId: string;
                taxRate: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    rate: string;
                    label: string | null;
                };
            } | null;
            productCollections: {
                position: string | null;
                productId: string;
                collectionId: string;
                collection: {
                    id: string;
                    name: string;
                    image: string | null;
                    createdAt: string;
                    updatedAt: string;
                    slug: string;
                    active: boolean;
                    filter: {
                        type: "manual";
                    } | {
                        type: "dynamicPrice";
                        min?: number | null | undefined;
                        max?: number | null | undefined;
                    };
                    storeId: string;
                    description: JSONContent | null;
                };
            }[];
            bundleProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                bundleId: string;
                quantity: number;
                variantId: string;
                variant: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        images: string[];
                        productTaxRate: {
                            createdAt: string;
                            updatedAt: string;
                            taxRateId: string;
                            productId: string;
                            taxRate: {
                                id: string;
                                name: string;
                                createdAt: string;
                                updatedAt: string;
                                storeId: string;
                                rate: string;
                                label: string | null;
                            };
                        } | null;
                        variants: {
                            id: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            price: string;
                            images: string[];
                            sku: string | null;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            digital: string[] | null;
                            shippable: boolean;
                            externalId: string | null;
                            productId: string;
                            attributes: unknown;
                            originalPrice: string;
                        }[];
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            colorValue: string | null;
                            variantType: {
                                id: string;
                                type: "string" | "color";
                                label: string;
                            };
                        };
                    }[];
                };
            }[];
            tr: {
                locale: string;
            }[];
            variants: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
                prices: {
                    createdAt: string;
                    updatedAt: string;
                    currency: string;
                    storeId: string;
                    price: string;
                    calculatedPrice: string | null;
                    variantId: string;
                }[];
            }[];
            subscriptionPlanProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                productId: string;
                subscriptionPlanId: string;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    interval: number;
                    active: boolean;
                    storeId: string;
                    description: string | null;
                    position: number;
                    cadence: "month" | "week";
                    discountPercent: number;
                    benefits: string | null;
                };
            }[];
        } & {
            variants: ({
                id: string;
                price: string;
            } & {
                prePromotionPrice: undefined;
            })[];
        }) | ({
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
            category: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                storeId: string;
                description: JSONContent | null;
                position: string;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                longDescription: JSONContent | null;
                parentId: string | null;
            } | null;
            productTaxRate: {
                createdAt: string;
                updatedAt: string;
                taxRateId: string;
                productId: string;
                taxRate: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    rate: string;
                    label: string | null;
                };
            } | null;
            productCollections: {
                position: string | null;
                productId: string;
                collectionId: string;
                collection: {
                    id: string;
                    name: string;
                    image: string | null;
                    createdAt: string;
                    updatedAt: string;
                    slug: string;
                    active: boolean;
                    filter: {
                        type: "manual";
                    } | {
                        type: "dynamicPrice";
                        min?: number | null | undefined;
                        max?: number | null | undefined;
                    };
                    storeId: string;
                    description: JSONContent | null;
                };
            }[];
            bundleProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                bundleId: string;
                quantity: number;
                variantId: string;
                variant: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        images: string[];
                        productTaxRate: {
                            createdAt: string;
                            updatedAt: string;
                            taxRateId: string;
                            productId: string;
                            taxRate: {
                                id: string;
                                name: string;
                                createdAt: string;
                                updatedAt: string;
                                storeId: string;
                                rate: string;
                                label: string | null;
                            };
                        } | null;
                        variants: {
                            id: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            price: string;
                            images: string[];
                            sku: string | null;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            digital: string[] | null;
                            shippable: boolean;
                            externalId: string | null;
                            productId: string;
                            attributes: unknown;
                            originalPrice: string;
                        }[];
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            colorValue: string | null;
                            variantType: {
                                id: string;
                                type: "string" | "color";
                                label: string;
                            };
                        };
                    }[];
                };
            }[];
            tr: {
                locale: string;
            }[];
            variants: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
                prices: {
                    createdAt: string;
                    updatedAt: string;
                    currency: string;
                    storeId: string;
                    price: string;
                    calculatedPrice: string | null;
                    variantId: string;
                }[];
            }[];
            subscriptionPlanProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                productId: string;
                subscriptionPlanId: string;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    interval: number;
                    active: boolean;
                    storeId: string;
                    description: string | null;
                    position: number;
                    cadence: "month" | "week";
                    discountPercent: number;
                    benefits: string | null;
                };
            }[];
        } & {
            variants: ({
                id: string;
                price: string;
            } & {
                prePromotionPrice: undefined;
            })[];
        }) | ({
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
            category: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                storeId: string;
                description: JSONContent | null;
                position: string;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                longDescription: JSONContent | null;
                parentId: string | null;
            } | null;
            productTaxRate: {
                createdAt: string;
                updatedAt: string;
                taxRateId: string;
                productId: string;
                taxRate: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    rate: string;
                    label: string | null;
                };
            } | null;
            productCollections: {
                position: string | null;
                productId: string;
                collectionId: string;
                collection: {
                    id: string;
                    name: string;
                    image: string | null;
                    createdAt: string;
                    updatedAt: string;
                    slug: string;
                    active: boolean;
                    filter: {
                        type: "manual";
                    } | {
                        type: "dynamicPrice";
                        min?: number | null | undefined;
                        max?: number | null | undefined;
                    };
                    storeId: string;
                    description: JSONContent | null;
                };
            }[];
            bundleProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                bundleId: string;
                quantity: number;
                variantId: string;
                variant: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        images: string[];
                        productTaxRate: {
                            createdAt: string;
                            updatedAt: string;
                            taxRateId: string;
                            productId: string;
                            taxRate: {
                                id: string;
                                name: string;
                                createdAt: string;
                                updatedAt: string;
                                storeId: string;
                                rate: string;
                                label: string | null;
                            };
                        } | null;
                        variants: {
                            id: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            price: string;
                            images: string[];
                            sku: string | null;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            digital: string[] | null;
                            shippable: boolean;
                            externalId: string | null;
                            productId: string;
                            attributes: unknown;
                            originalPrice: string;
                        }[];
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            colorValue: string | null;
                            variantType: {
                                id: string;
                                type: "string" | "color";
                                label: string;
                            };
                        };
                    }[];
                };
            }[];
            tr: {
                locale: string;
            }[];
            variants: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
                prices: {
                    createdAt: string;
                    updatedAt: string;
                    currency: string;
                    storeId: string;
                    price: string;
                    calculatedPrice: string | null;
                    variantId: string;
                }[];
            }[];
            subscriptionPlanProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                productId: string;
                subscriptionPlanId: string;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    interval: number;
                    active: boolean;
                    storeId: string;
                    description: string | null;
                    position: number;
                    cadence: "month" | "week";
                    discountPercent: number;
                    benefits: string | null;
                };
            }[];
        } & {
            variants: ({
                id: string;
                price: string;
            } & {
                prePromotionPrice: undefined;
            })[];
        }) | ({
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
            category: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                storeId: string;
                description: JSONContent | null;
                position: string;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                longDescription: JSONContent | null;
                parentId: string | null;
            } | null;
            productTaxRate: {
                createdAt: string;
                updatedAt: string;
                taxRateId: string;
                productId: string;
                taxRate: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    rate: string;
                    label: string | null;
                };
            } | null;
            productCollections: {
                position: string | null;
                productId: string;
                collectionId: string;
                collection: {
                    id: string;
                    name: string;
                    image: string | null;
                    createdAt: string;
                    updatedAt: string;
                    slug: string;
                    active: boolean;
                    filter: {
                        type: "manual";
                    } | {
                        type: "dynamicPrice";
                        min?: number | null | undefined;
                        max?: number | null | undefined;
                    };
                    storeId: string;
                    description: JSONContent | null;
                };
            }[];
            bundleProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                bundleId: string;
                quantity: number;
                variantId: string;
                variant: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        images: string[];
                        productTaxRate: {
                            createdAt: string;
                            updatedAt: string;
                            taxRateId: string;
                            productId: string;
                            taxRate: {
                                id: string;
                                name: string;
                                createdAt: string;
                                updatedAt: string;
                                storeId: string;
                                rate: string;
                                label: string | null;
                            };
                        } | null;
                        variants: {
                            id: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            price: string;
                            images: string[];
                            sku: string | null;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            digital: string[] | null;
                            shippable: boolean;
                            externalId: string | null;
                            productId: string;
                            attributes: unknown;
                            originalPrice: string;
                        }[];
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            colorValue: string | null;
                            variantType: {
                                id: string;
                                type: "string" | "color";
                                label: string;
                            };
                        };
                    }[];
                };
            }[];
            tr: {
                locale: string;
            }[];
            variants: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
                prices: {
                    createdAt: string;
                    updatedAt: string;
                    currency: string;
                    storeId: string;
                    price: string;
                    calculatedPrice: string | null;
                    variantId: string;
                }[];
            }[];
            subscriptionPlanProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                productId: string;
                subscriptionPlanId: string;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    interval: number;
                    active: boolean;
                    storeId: string;
                    description: string | null;
                    position: number;
                    cadence: "month" | "week";
                    discountPercent: number;
                    benefits: string | null;
                };
            }[];
        } & {
            variants: ({
                id: string;
                price: string;
            } & {
                prePromotionPrice: undefined;
                price: string;
            })[];
        }) | ({
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
            category: {
                id: string;
                name: string;
                image: string | null;
                createdAt: string;
                updatedAt: string;
                slug: string;
                active: boolean;
                storeId: string;
                description: JSONContent | null;
                position: string;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                longDescription: JSONContent | null;
                parentId: string | null;
            } | null;
            productTaxRate: {
                createdAt: string;
                updatedAt: string;
                taxRateId: string;
                productId: string;
                taxRate: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    rate: string;
                    label: string | null;
                };
            } | null;
            productCollections: {
                position: string | null;
                productId: string;
                collectionId: string;
                collection: {
                    id: string;
                    name: string;
                    image: string | null;
                    createdAt: string;
                    updatedAt: string;
                    slug: string;
                    active: boolean;
                    filter: {
                        type: "manual";
                    } | {
                        type: "dynamicPrice";
                        min?: number | null | undefined;
                        max?: number | null | undefined;
                    };
                    storeId: string;
                    description: JSONContent | null;
                };
            }[];
            bundleProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                bundleId: string;
                quantity: number;
                variantId: string;
                variant: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        images: string[];
                        productTaxRate: {
                            createdAt: string;
                            updatedAt: string;
                            taxRateId: string;
                            productId: string;
                            taxRate: {
                                id: string;
                                name: string;
                                createdAt: string;
                                updatedAt: string;
                                storeId: string;
                                rate: string;
                                label: string | null;
                            };
                        } | null;
                        variants: {
                            id: string;
                            createdAt: string;
                            updatedAt: string;
                            storeId: string;
                            price: string;
                            images: string[];
                            sku: string | null;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            digital: string[] | null;
                            shippable: boolean;
                            externalId: string | null;
                            productId: string;
                            attributes: unknown;
                            originalPrice: string;
                        }[];
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            colorValue: string | null;
                            variantType: {
                                id: string;
                                type: "string" | "color";
                                label: string;
                            };
                        };
                    }[];
                };
            }[];
            tr: {
                locale: string;
            }[];
            variants: {
                id: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                price: string;
                images: string[];
                sku: string | null;
                calculatedPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                productId: string;
                attributes: unknown;
                originalPrice: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        colorValue: string | null;
                        variantType: {
                            id: string;
                            type: "string" | "color";
                            label: string;
                        };
                    };
                }[];
                prices: {
                    createdAt: string;
                    updatedAt: string;
                    currency: string;
                    storeId: string;
                    price: string;
                    calculatedPrice: string | null;
                    variantId: string;
                }[];
            }[];
            subscriptionPlanProducts: {
                createdAt: string;
                updatedAt: string;
                position: number;
                productId: string;
                subscriptionPlanId: string;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                    interval: number;
                    active: boolean;
                    storeId: string;
                    description: string | null;
                    position: number;
                    cadence: "month" | "week";
                    discountPercent: number;
                    benefits: string | null;
                };
            }[];
        } & {
            variants: ({
                id: string;
                price: string;
            } & {
                prePromotionPrice: string | null;
            })[];
        }))[];
        meta: {
            count: number;
            countPublished: number;
            countDraft: number;
            countHidden: number;
            nextCursor: string | undefined;
        };
    }["data"][number] & {
        lang?: string;
    }>;
};
type APIProductsBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
    cursor?: string | undefined;
    category?: string | undefined;
    query?: string | undefined;
    active?: boolean | undefined;
    excludeBundles?: boolean | undefined;
    orderBy?: "name" | "createdAt" | "price" | undefined;
    orderDirection?: "asc" | "desc" | undefined;
    currency?: string | undefined;
    lang?: string | undefined;
};
type APIProductGetByIdResult = ({
    id: string;
    name: string;
    createdAt: string;
    updatedAt: string;
    type: "product" | "bundle" | "set";
    slug: string;
    status: "published" | "draft" | "hidden" | null;
    flags: unknown;
    storeId: string;
    summary: string | null;
    content: JSONContent | null;
    images: string[];
    badge: unknown;
    bundleDiscountPercentage: string | null;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    stripeTaxCode: string | null;
    categoryId: string | null;
    category: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        storeId: string;
        description: JSONContent | null;
        position: string;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        longDescription: JSONContent | null;
        parentId: string | null;
    } | null;
    productTaxRate: {
        createdAt: string;
        updatedAt: string;
        taxRateId: string;
        productId: string;
        taxRate: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            rate: string;
            label: string | null;
        };
    } | null;
    productCollections: {
        position: string | null;
        productId: string;
        collectionId: string;
        collection: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            filter: {
                type: "manual";
            } | {
                type: "dynamicPrice";
                min?: number | null | undefined;
                max?: number | null | undefined;
            };
            storeId: string;
            description: JSONContent | null;
        };
    }[];
    bundleProducts: {
        createdAt: string;
        updatedAt: string;
        position: number;
        bundleId: string;
        quantity: number;
        variantId: string;
        variant: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            product: {
                id: string;
                name: string;
                slug: string;
                images: string[];
                productTaxRate: {
                    createdAt: string;
                    updatedAt: string;
                    taxRateId: string;
                    productId: string;
                    taxRate: {
                        id: string;
                        name: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        rate: string;
                        label: string | null;
                    };
                } | null;
                variants: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                }[];
            };
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
        };
    }[];
    variantsTypes: {
        id: string;
        type: "string" | "color";
        label: string;
        variantValues: {
            id: string;
            value: string;
            position: number | null;
            colorValue: string | null;
        }[];
    }[];
    tr: {
        locale: string;
    }[];
    variants: {
        id: string;
        createdAt: string;
        updatedAt: string;
        storeId: string;
        price: string;
        images: string[];
        sku: string | null;
        calculatedPrice: string | null;
        stock: number | null;
        depth: number | null;
        width: number | null;
        height: number | null;
        weight: number | null;
        digital: string[] | null;
        shippable: boolean;
        externalId: string | null;
        productId: string;
        attributes: unknown;
        originalPrice: string;
        combinations: {
            createdAt: string;
            updatedAt: string;
            productVariantId: string;
            variantValueId: string;
            variantValue: {
                id: string;
                value: string;
                position: number | null;
                colorValue: string | null;
                variantType: {
                    id: string;
                    type: "string" | "color";
                    label: string;
                };
            };
        }[];
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            storeId: string;
            price: string;
            calculatedPrice: string | null;
            variantId: string;
        }[];
    }[];
    subscriptionPlanProducts: {
        createdAt: string;
        updatedAt: string;
        position: number;
        productId: string;
        subscriptionPlanId: string;
        subscriptionPlan: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            interval: number;
            active: boolean;
            storeId: string;
            description: string | null;
            position: number;
            cadence: "month" | "week";
            discountPercent: number;
            benefits: string | null;
        };
    }[];
    volumePricingTiers: {
        id: string;
        createdAt: string;
        updatedAt: string;
        storeId: string;
        price: string;
        minQuantity: number;
        maxQuantity: number | null;
        productId: string | null;
        productVariantId: string | null;
    }[];
} & {
    variants: ({
        id: string;
        price: string;
    } & {
        prePromotionPrice: undefined;
    })[];
}) | (({
    id: string;
    name: string;
    createdAt: string;
    updatedAt: string;
    type: "product" | "bundle" | "set";
    slug: string;
    status: "published" | "draft" | "hidden" | null;
    flags: unknown;
    storeId: string;
    summary: string | null;
    content: JSONContent | null;
    images: string[];
    badge: unknown;
    bundleDiscountPercentage: string | null;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    stripeTaxCode: string | null;
    categoryId: string | null;
    category: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        storeId: string;
        description: JSONContent | null;
        position: string;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        longDescription: JSONContent | null;
        parentId: string | null;
    } | null;
    productTaxRate: {
        createdAt: string;
        updatedAt: string;
        taxRateId: string;
        productId: string;
        taxRate: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            rate: string;
            label: string | null;
        };
    } | null;
    productCollections: {
        position: string | null;
        productId: string;
        collectionId: string;
        collection: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            filter: {
                type: "manual";
            } | {
                type: "dynamicPrice";
                min?: number | null | undefined;
                max?: number | null | undefined;
            };
            storeId: string;
            description: JSONContent | null;
        };
    }[];
    bundleProducts: {
        createdAt: string;
        updatedAt: string;
        position: number;
        bundleId: string;
        quantity: number;
        variantId: string;
        variant: {
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            calculatedPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            originalPrice: string;
            product: {
                id: string;
                name: string;
                slug: string;
                images: string[];
                productTaxRate: {
                    createdAt: string;
                    updatedAt: string;
                    taxRateId: string;
                    productId: string;
                    taxRate: {
                        id: string;
                        name: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        rate: string;
                        label: string | null;
                    };
                } | null;
                variants: {
                    id: string;
                    createdAt: string;
                    updatedAt: string;
                    storeId: string;
                    price: string;
                    images: string[];
                    sku: string | null;
                    calculatedPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    productId: string;
                    attributes: unknown;
                    originalPrice: string;
                }[];
            };
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    colorValue: string | null;
                    variantType: {
                        id: string;
                        type: "string" | "color";
                        label: string;
                    };
                };
            }[];
        };
    }[];
    variantsTypes: {
        id: string;
        type: "string" | "color";
        label: string;
        variantValues: {
            id: string;
            value: string;
            position: number | null;
            colorValue: string | null;
        }[];
    }[];
    tr: {
        locale: string;
    }[];
    variants: {
        id: string;
        createdAt: string;
        updatedAt: string;
        storeId: string;
        price: string;
        images: string[];
        sku: string | null;
        calculatedPrice: string | null;
        stock: number | null;
        depth: number | null;
        width: number | null;
        height: number | null;
        weight: number | null;
        digital: string[] | null;
        shippable: boolean;
        externalId: string | null;
        productId: string;
        attributes: unknown;
        originalPrice: string;
        combinations: {
            createdAt: string;
            updatedAt: string;
            productVariantId: string;
            variantValueId: string;
            variantValue: {
                id: string;
                value: string;
                position: number | null;
                colorValue: string | null;
                variantType: {
                    id: string;
                    type: "string" | "color";
                    label: string;
                };
            };
        }[];
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            storeId: string;
            price: string;
            calculatedPrice: string | null;
            variantId: string;
        }[];
    }[];
    subscriptionPlanProducts: {
        createdAt: string;
        updatedAt: string;
        position: number;
        productId: string;
        subscriptionPlanId: string;
        subscriptionPlan: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            interval: number;
            active: boolean;
            storeId: string;
            description: string | null;
            position: number;
            cadence: "month" | "week";
            discountPercent: number;
            benefits: string | null;
        };
    }[];
    volumePricingTiers: {
        id: string;
        createdAt: string;
        updatedAt: string;
        storeId: string;
        price: string;
        minQuantity: number;
        maxQuantity: number | null;
        productId: string | null;
        productVariantId: string | null;
    }[];
} & {
    variants: ({
        id: string;
        price: string;
    } & {
        prePromotionPrice: string | null;
    })[];
}) & {
    lang?: string;
});
type APIProductGetByIdParams = {
    idOrSlug: string;
};
type APIProductGetByIdQueryParams = {
    lang?: string;
    currency?: string;
};
type APICartGetResult = {
    lineItems: {
        productVariant: {
            product: {
                bundleProducts: {
                    variant: Omit<{
                        storeId: string | null;
                        product: {
                            productTaxRate: {
                                taxRate: {
                                    rate: string;
                                    label: string | null;
                                };
                            } | null;
                            id: string;
                            name: string;
                            slug: string;
                            images: string[];
                        };
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                        prices: {
                            createdAt: string;
                            updatedAt: string;
                            currency: string;
                            storeId: string;
                            price: string;
                            calculatedPrice: string | null;
                            variantId: string;
                        }[];
                    }, "prices">;
                    createdAt: string;
                    updatedAt: string;
                    position: number;
                    bundleId: string;
                    quantity: number;
                    variantId: string;
                }[];
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                type: "product" | "bundle" | "set";
                slug: string;
                status: "published" | "draft" | "hidden" | null;
                flags: unknown;
                storeId: string;
                summary: string | null;
                content: JSONContent | null;
                images: string[];
                badge: unknown;
                bundleDiscountPercentage: string | null;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                stripeTaxCode: string | null;
                categoryId: string | null;
                productTaxRate: {
                    createdAt: string;
                    updatedAt: string;
                    taxRateId: string;
                    productId: string;
                    taxRate: {
                        id: string;
                        name: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        rate: string;
                        label: string | null;
                    };
                } | null;
                productCollections: {
                    position: string | null;
                    productId: string;
                    collectionId: string;
                    collection: {
                        id: string;
                        name: string;
                        image: string | null;
                        createdAt: string;
                        updatedAt: string;
                        slug: string;
                        active: boolean;
                        filter: {
                            type: "manual";
                        } | {
                            type: "dynamicPrice";
                            min?: number | null | undefined;
                            max?: number | null | undefined;
                        };
                        storeId: string;
                        description: JSONContent | null;
                    };
                }[];
                setProduct: {
                    selectionCount: number;
                    allowDuplicates: boolean;
                    discountPercentage: string;
                } | null;
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            originalPrice: string;
            calculatedPrice: string | null;
            prePromotionPrice: string | null | undefined;
            preVolumePricingPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    variantType: {
                        id: string;
                        label: string;
                    };
                };
            }[];
        };
        preVolumePricingPrice: string | null;
        setSelections: {
            selectedVariant: {
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        variantType: {
                            id: string;
                            label: string;
                        };
                    };
                }[];
                id: string;
                price: string;
                product: {
                    id: string;
                    name: string;
                };
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            position: number;
            quantity: number;
            lineItemId: string;
            selectedVariantId: string;
        }[];
        id: string;
        createdAt: string;
        updatedAt: string;
        cartId: string;
        quantity: number;
        productVariantId: string;
        subscriptionPlanId: string | null;
        subscriptionPlan: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            interval: number;
            active: boolean;
            storeId: string;
            description: string | null;
            position: number;
            cadence: "month" | "week";
            discountPercent: number;
            benefits: string | null;
        } | null;
    }[];
    shipping: Omit<{
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "courier" | "parcel" | "pickup_point" | "in_store";
        storeId: string;
        description: string | null;
        price: string;
        minShippingTime: number | null;
        maxShippingTime: number | null;
        freeShippingThreshold: string | null;
        position: number | null;
        addonId: string | null;
        addonData: unknown;
        deliverySlots: unknown;
        countries: string[] | null;
        shippingAddon: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
            storeId: string;
        } | null;
        shippingTaxRate: {
            createdAt: string;
            updatedAt: string;
            shippingId: string;
            taxRateId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            storeId: string;
            price: string;
            freeShippingThreshold: string | null;
            shippingId: string;
        }[];
    }, "prices"> | null;
    coupon: Omit<{
        type: "fixed" | "percentage";
        value: string;
        code: string;
        startDate: string | null;
        endDate: string | null;
        minProductCount: number | null;
        maxProductCount: number | null;
        products: {
            id: string;
        }[];
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            value: string;
            storeId: string;
            couponId: string;
        }[];
    }, "prices"> | null;
    customer: {
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
        coupon: {
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        } | null;
    } | {
        coupon: Omit<{
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        }, "prices">;
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
    } | null;
    id: string;
    createdAt: string;
    updatedAt: string;
    currency: string | null;
    storeId: string;
    addonData: Record<string, unknown> | null | undefined;
    couponId: string | null;
    customerId: string | null;
    stripePaymentIntentId: string | null;
    checkoutSessionId: string | null;
    shippingId: string | null;
    shippingAddressId: string | null;
    billingAddressId: string | null;
    deliverySlot: unknown;
    ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
    ucpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        escalationReason?: string;
    } | null;
    acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
    acpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        idempotencyKey?: string;
    } | null;
    billingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
    shippingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
} | null | undefined;
type APICartAddBody = unknown;
type APICartAddResult = unknown;
type APICartCreateBody = {
    variantId: string;
    quantity: number;
    cartId?: string | undefined;
    subscriptionPlanId?: string | null | undefined;
    currency?: string | undefined;
};
type APICartCreateResult = {
    lineItems: {
        productVariant: {
            product: {
                bundleProducts: {
                    variant: Omit<{
                        storeId: string | null;
                        product: {
                            productTaxRate: {
                                taxRate: {
                                    rate: string;
                                    label: string | null;
                                };
                            } | null;
                            id: string;
                            name: string;
                            slug: string;
                            images: string[];
                        };
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                        prices: {
                            createdAt: string;
                            updatedAt: string;
                            currency: string;
                            storeId: string;
                            price: string;
                            calculatedPrice: string | null;
                            variantId: string;
                        }[];
                    }, "prices">;
                    createdAt: string;
                    updatedAt: string;
                    position: number;
                    bundleId: string;
                    quantity: number;
                    variantId: string;
                }[];
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                type: "product" | "bundle" | "set";
                slug: string;
                status: "published" | "draft" | "hidden" | null;
                flags: unknown;
                storeId: string;
                summary: string | null;
                content: JSONContent | null;
                images: string[];
                badge: unknown;
                bundleDiscountPercentage: string | null;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                stripeTaxCode: string | null;
                categoryId: string | null;
                productTaxRate: {
                    createdAt: string;
                    updatedAt: string;
                    taxRateId: string;
                    productId: string;
                    taxRate: {
                        id: string;
                        name: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        rate: string;
                        label: string | null;
                    };
                } | null;
                productCollections: {
                    position: string | null;
                    productId: string;
                    collectionId: string;
                    collection: {
                        id: string;
                        name: string;
                        image: string | null;
                        createdAt: string;
                        updatedAt: string;
                        slug: string;
                        active: boolean;
                        filter: {
                            type: "manual";
                        } | {
                            type: "dynamicPrice";
                            min?: number | null | undefined;
                            max?: number | null | undefined;
                        };
                        storeId: string;
                        description: JSONContent | null;
                    };
                }[];
                setProduct: {
                    selectionCount: number;
                    allowDuplicates: boolean;
                    discountPercentage: string;
                } | null;
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            originalPrice: string;
            calculatedPrice: string | null;
            prePromotionPrice: string | null | undefined;
            preVolumePricingPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    variantType: {
                        id: string;
                        label: string;
                    };
                };
            }[];
        };
        preVolumePricingPrice: string | null;
        setSelections: {
            selectedVariant: {
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        variantType: {
                            id: string;
                            label: string;
                        };
                    };
                }[];
                id: string;
                price: string;
                product: {
                    id: string;
                    name: string;
                };
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            position: number;
            quantity: number;
            lineItemId: string;
            selectedVariantId: string;
        }[];
        id: string;
        createdAt: string;
        updatedAt: string;
        cartId: string;
        quantity: number;
        productVariantId: string;
        subscriptionPlanId: string | null;
        subscriptionPlan: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            interval: number;
            active: boolean;
            storeId: string;
            description: string | null;
            position: number;
            cadence: "month" | "week";
            discountPercent: number;
            benefits: string | null;
        } | null;
    }[];
    shipping: Omit<{
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "courier" | "parcel" | "pickup_point" | "in_store";
        storeId: string;
        description: string | null;
        price: string;
        minShippingTime: number | null;
        maxShippingTime: number | null;
        freeShippingThreshold: string | null;
        position: number | null;
        addonId: string | null;
        addonData: unknown;
        deliverySlots: unknown;
        countries: string[] | null;
        shippingAddon: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
            storeId: string;
        } | null;
        shippingTaxRate: {
            createdAt: string;
            updatedAt: string;
            shippingId: string;
            taxRateId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            storeId: string;
            price: string;
            freeShippingThreshold: string | null;
            shippingId: string;
        }[];
    }, "prices"> | null;
    coupon: Omit<{
        type: "fixed" | "percentage";
        value: string;
        code: string;
        startDate: string | null;
        endDate: string | null;
        minProductCount: number | null;
        maxProductCount: number | null;
        products: {
            id: string;
        }[];
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            value: string;
            storeId: string;
            couponId: string;
        }[];
    }, "prices"> | null;
    customer: {
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
        coupon: {
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        } | null;
    } | {
        coupon: Omit<{
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        }, "prices">;
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
    } | null;
    id: string;
    createdAt: string;
    updatedAt: string;
    currency: string | null;
    storeId: string;
    addonData: Record<string, unknown> | null | undefined;
    couponId: string | null;
    customerId: string | null;
    stripePaymentIntentId: string | null;
    checkoutSessionId: string | null;
    shippingId: string | null;
    shippingAddressId: string | null;
    billingAddressId: string | null;
    deliverySlot: unknown;
    ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
    ucpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        escalationReason?: string;
    } | null;
    acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
    acpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        idempotencyKey?: string;
    } | null;
    billingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
    shippingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
} | null | undefined;
type APICartRemoveItemResult = {
    lineItems: {
        productVariant: {
            product: {
                bundleProducts: {
                    variant: Omit<{
                        storeId: string | null;
                        product: {
                            productTaxRate: {
                                taxRate: {
                                    rate: string;
                                    label: string | null;
                                };
                            } | null;
                            id: string;
                            name: string;
                            slug: string;
                            images: string[];
                        };
                        id: string;
                        createdAt: string;
                        updatedAt: string;
                        price: string;
                        images: string[];
                        sku: string | null;
                        calculatedPrice: string | null;
                        stock: number | null;
                        depth: number | null;
                        width: number | null;
                        height: number | null;
                        weight: number | null;
                        digital: string[] | null;
                        shippable: boolean;
                        externalId: string | null;
                        productId: string;
                        attributes: unknown;
                        originalPrice: string;
                        prices: {
                            createdAt: string;
                            updatedAt: string;
                            currency: string;
                            storeId: string;
                            price: string;
                            calculatedPrice: string | null;
                            variantId: string;
                        }[];
                    }, "prices">;
                    createdAt: string;
                    updatedAt: string;
                    position: number;
                    bundleId: string;
                    quantity: number;
                    variantId: string;
                }[];
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                type: "product" | "bundle" | "set";
                slug: string;
                status: "published" | "draft" | "hidden" | null;
                flags: unknown;
                storeId: string;
                summary: string | null;
                content: JSONContent | null;
                images: string[];
                badge: unknown;
                bundleDiscountPercentage: string | null;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                stripeTaxCode: string | null;
                categoryId: string | null;
                productTaxRate: {
                    createdAt: string;
                    updatedAt: string;
                    taxRateId: string;
                    productId: string;
                    taxRate: {
                        id: string;
                        name: string;
                        createdAt: string;
                        updatedAt: string;
                        storeId: string;
                        rate: string;
                        label: string | null;
                    };
                } | null;
                productCollections: {
                    position: string | null;
                    productId: string;
                    collectionId: string;
                    collection: {
                        id: string;
                        name: string;
                        image: string | null;
                        createdAt: string;
                        updatedAt: string;
                        slug: string;
                        active: boolean;
                        filter: {
                            type: "manual";
                        } | {
                            type: "dynamicPrice";
                            min?: number | null | undefined;
                            max?: number | null | undefined;
                        };
                        storeId: string;
                        description: JSONContent | null;
                    };
                }[];
                setProduct: {
                    selectionCount: number;
                    allowDuplicates: boolean;
                    discountPercentage: string;
                } | null;
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            storeId: string;
            price: string;
            images: string[];
            sku: string | null;
            originalPrice: string;
            calculatedPrice: string | null;
            prePromotionPrice: string | null | undefined;
            preVolumePricingPrice: string | null;
            stock: number | null;
            depth: number | null;
            width: number | null;
            height: number | null;
            weight: number | null;
            digital: string[] | null;
            shippable: boolean;
            externalId: string | null;
            productId: string;
            attributes: unknown;
            combinations: {
                createdAt: string;
                updatedAt: string;
                productVariantId: string;
                variantValueId: string;
                variantValue: {
                    id: string;
                    value: string;
                    variantType: {
                        id: string;
                        label: string;
                    };
                };
            }[];
        };
        preVolumePricingPrice: string | null;
        setSelections: {
            selectedVariant: {
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        variantType: {
                            id: string;
                            label: string;
                        };
                    };
                }[];
                id: string;
                price: string;
                product: {
                    id: string;
                    name: string;
                };
            };
            id: string;
            createdAt: string;
            updatedAt: string;
            position: number;
            quantity: number;
            lineItemId: string;
            selectedVariantId: string;
        }[];
        id: string;
        createdAt: string;
        updatedAt: string;
        cartId: string;
        quantity: number;
        productVariantId: string;
        subscriptionPlanId: string | null;
        subscriptionPlan: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            interval: number;
            active: boolean;
            storeId: string;
            description: string | null;
            position: number;
            cadence: "month" | "week";
            discountPercent: number;
            benefits: string | null;
        } | null;
    }[];
    shipping: Omit<{
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "courier" | "parcel" | "pickup_point" | "in_store";
        storeId: string;
        description: string | null;
        price: string;
        minShippingTime: number | null;
        maxShippingTime: number | null;
        freeShippingThreshold: string | null;
        position: number | null;
        addonId: string | null;
        addonData: unknown;
        deliverySlots: unknown;
        countries: string[] | null;
        shippingAddon: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
            storeId: string;
        } | null;
        shippingTaxRate: {
            createdAt: string;
            updatedAt: string;
            shippingId: string;
            taxRateId: string;
            taxRate: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                storeId: string;
                rate: string;
                label: string | null;
            };
        } | null;
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            storeId: string;
            price: string;
            freeShippingThreshold: string | null;
            shippingId: string;
        }[];
    }, "prices"> | null;
    coupon: Omit<{
        type: "fixed" | "percentage";
        value: string;
        code: string;
        startDate: string | null;
        endDate: string | null;
        minProductCount: number | null;
        maxProductCount: number | null;
        products: {
            id: string;
        }[];
        prices: {
            createdAt: string;
            updatedAt: string;
            currency: string;
            value: string;
            storeId: string;
            couponId: string;
        }[];
    }, "prices"> | null;
    customer: {
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
        coupon: {
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        } | null;
    } | {
        coupon: Omit<{
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
            products: {
                id: string;
            }[];
            prices: {
                createdAt: string;
                updatedAt: string;
                currency: string;
                value: string;
                storeId: string;
                couponId: string;
            }[];
        }, "prices">;
        id: string;
        email: string | null;
        createdAt: string;
        updatedAt: string;
        userId: string | null;
        storeId: string;
        couponId: string | null;
        user: {
            id: string;
            name: string;
            email: string;
        } | null;
    } | null;
    id: string;
    createdAt: string;
    updatedAt: string;
    currency: string | null;
    storeId: string;
    addonData: Record<string, unknown> | null | undefined;
    couponId: string | null;
    customerId: string | null;
    stripePaymentIntentId: string | null;
    checkoutSessionId: string | null;
    shippingId: string | null;
    shippingAddressId: string | null;
    billingAddressId: string | null;
    deliverySlot: unknown;
    ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
    ucpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        escalationReason?: string;
    } | null;
    acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
    acpMetadata: {
        buyerEmail?: string;
        buyerName?: string;
        buyerPhone?: string;
        agentId?: string;
        externalReference?: string;
        idempotencyKey?: string;
    } | null;
    billingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
    shippingAddress: {
        id: string;
        name: string | null;
        createdAt: string;
        updatedAt: string;
        type: "shipping" | "billing" | "merchant";
        company: string | null;
        city: string | null;
        country: string | null;
        line1: string | null;
        line2: string | null;
        postalCode: string | null;
        state: string | null;
        phone: string | null;
        taxId: string | null;
    } | null;
} | null | undefined;
type APICartRemoveItemQueryParams = {
    subscriptionPlanId?: string | undefined;
};
type APIOrdersBrowseResult = {
    data: ({
        id: string;
        createdAt: string;
        updatedAt: string;
        status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
        environment: "live" | "test";
        storeId: string;
        customerId: string | null;
        lookup: number;
        cartId: string | null;
        orderData: {
            id: string;
            storeId: string;
            shippingId: string | null;
            shipping: {
                id: string;
                storeId: string;
                name: string;
                price: string;
                freeShippingThreshold: string | null;
                minShippingTime: number | null;
                maxShippingTime: number | null;
                description: string | null;
                addonId: string | null;
                shippingAddon: {
                    type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
                    storeId: string;
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                } | null;
                type: "courier" | "parcel" | "pickup_point" | "in_store";
                addonData: {
                    id: number;
                    name: string;
                    service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
                } | null;
                deliverySlots: unknown;
                shippingTaxRate: {
                    shippingId: string;
                    taxRateId: string;
                    taxRate: {
                        id: string;
                        storeId: string;
                        name: string;
                        rate: string;
                        label: string | null;
                        createdAt: string;
                        updatedAt: string;
                    };
                    createdAt: string;
                    updatedAt: string;
                } | null;
                position: number | null;
                createdAt: string;
                updatedAt: string;
                countries: string[] | null;
            } | null;
            createdAt: string;
            lineItems: {
                id: string;
                cartId: string;
                quantity: number;
                createdAt: string;
                updatedAt: string;
                productVariant: {
                    id: string;
                    sku: string | null;
                    price: string;
                    originalPrice: string;
                    calculatedPrice: string | null;
                    prePromotionPrice: string | null;
                    preVolumePricingPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    images: string[];
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        status: "published" | "draft" | "hidden" | null;
                        images: string[];
                        badge: {
                            content?: string | undefined;
                            backgroundColor?: string | undefined;
                            textColor?: string | undefined;
                        } | null;
                        storeId: string;
                        categoryId: string | null;
                        summary: string | null;
                        content: any;
                        createdAt: string;
                        updatedAt: string;
                        productTaxRate: {
                            productId: string;
                            taxRateId: string;
                            taxRate: {
                                id: string;
                                storeId: string;
                                name: string;
                                rate: string;
                                label: string | null;
                                createdAt: string;
                                updatedAt: string;
                            };
                            createdAt: string;
                            updatedAt: string;
                        } | null;
                        flags: {
                            gold?: boolean | null | undefined;
                        } | null;
                        type: "product" | "bundle" | "set";
                        bundleDiscountPercentage: string | null;
                        productCollections: {
                            collection: {
                                createdAt: string;
                                description: any;
                                id: string;
                                image: string | null;
                                name: string;
                                slug: string;
                                storeId: string;
                                updatedAt: string;
                                filter: {
                                    type: "manual";
                                } | {
                                    type: "dynamicPrice";
                                    min?: number | null | undefined;
                                    max?: number | null | undefined;
                                };
                                active: boolean;
                                seo?: {
                                    title?: string | null | undefined;
                                    description?: string | null | undefined;
                                    canonical?: string | null | undefined;
                                } | null | undefined;
                            };
                            collectionId: string;
                            position: string | null;
                            productId: string;
                        }[];
                        bundleProducts: {
                            bundleId: string;
                            variantId: string;
                            quantity: number;
                            position: number;
                            createdAt: string;
                            updatedAt: string;
                            variant: {
                                id: string;
                                sku: string | null;
                                price: string;
                                shippable: boolean;
                                originalPrice: string;
                                calculatedPrice: string | null;
                                stock: number | null;
                                depth: number | null;
                                width: number | null;
                                height: number | null;
                                weight: number | null;
                                images: string[];
                                digital: string[] | null;
                                externalId: string | null;
                                product: {
                                    id: string;
                                    name: string;
                                    slug: string;
                                    images: string[];
                                    productTaxRate: {
                                        taxRate: {
                                            rate: string;
                                            label: string | null;
                                        };
                                    } | null;
                                };
                                createdAt: string;
                                productId: string;
                                updatedAt: string;
                                attributes: {
                                    checked: boolean | null;
                                    key: string;
                                    value: string;
                                }[] | null;
                                storeId: string;
                            };
                        }[];
                        setProduct: {
                            selectionCount: number;
                            allowDuplicates: boolean;
                            discountPercentage: string;
                        } | null;
                        seo: {
                            title?: string | null | undefined;
                            description?: string | null | undefined;
                            canonical?: string | null | undefined;
                        } | null;
                        stripeTaxCode: string | null;
                        active?: boolean | null | undefined;
                    };
                    createdAt: string;
                    productId: string;
                    updatedAt: string;
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            variantType: {
                                id: string;
                                label: string;
                                productId?: string | null | undefined;
                                createdAt?: string | null | undefined;
                                updatedAt?: string | null | undefined;
                            };
                            variantTypeId?: string | null | undefined;
                        };
                    }[];
                    attributes: {
                        checked: boolean | null;
                        key: string;
                        value: string;
                    }[] | null;
                    storeId: string;
                };
                productVariantId: string;
                preVolumePricingPrice: string | null;
                subscriptionPlanId: string | null;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    cadence: "month" | "week";
                    interval: number;
                    discountPercent: number;
                    description: string | null;
                    benefits: string | null;
                    active: boolean;
                    createdAt: string;
                    position: number;
                    storeId: string;
                    updatedAt: string;
                } | null;
                slotId: string | null;
                attendees: {
                    name: string;
                    email: string;
                    phone: string | null;
                    dietary: string | null;
                    notes: string | null;
                }[] | null;
                setSelections: {
                    id: string;
                    lineItemId: string;
                    selectedVariantId: string;
                    quantity: number;
                    position: number;
                    createdAt: string;
                    updatedAt: string;
                    selectedVariant: {
                        id: string;
                        price: string;
                        product: {
                            id: string;
                            name: string;
                        };
                        combinations: {
                            createdAt: string;
                            updatedAt: string;
                            productVariantId: string;
                            variantValueId: string;
                            variantValue: {
                                id: string;
                                value: string;
                                variantType: {
                                    id: string;
                                    label: string;
                                    productId?: string | null | undefined;
                                    createdAt?: string | null | undefined;
                                    updatedAt?: string | null | undefined;
                                };
                                variantTypeId?: string | null | undefined;
                            };
                        }[];
                    };
                }[];
            }[];
            updatedAt: string;
            couponId: string | null;
            coupon: {
                type: "fixed" | "percentage";
                value: string;
                code: string;
                startDate: string | null;
                endDate: string | null;
                minProductCount: number | null;
                maxProductCount: number | null;
            } | null;
            billingAddress: {
                id: string;
                type: "shipping" | "billing" | "merchant";
                company: string | null;
                name: string | null;
                city: string | null;
                line1: string | null;
                line2: string | null;
                postalCode: string | null;
                state: string | null;
                country: string | null;
                phone: string | null;
                taxId: string | null;
                createdAt: string;
                updatedAt: string;
            } | null;
            shippingAddress: {
                id: string;
                type: "shipping" | "billing" | "merchant";
                company: string | null;
                name: string | null;
                city: string | null;
                line1: string | null;
                line2: string | null;
                postalCode: string | null;
                state: string | null;
                country: string | null;
                phone: string | null;
                taxId: string | null;
                createdAt: string;
                updatedAt: string;
            } | null;
            billingAddressId: string | null;
            shippingAddressId: string | null;
            stripePaymentIntentId: string | null;
            checkoutSessionId: string | null;
            customerId: string | null;
            customer: {
                id: string;
                email: string | null;
                storeId: string;
                createdAt: string;
                updatedAt: string;
                userId: string | null;
                user: {
                    id: string;
                    name: string;
                    email: string;
                } | null;
                couponId: string | null;
                coupon: {
                    type: "fixed" | "percentage";
                    value: string;
                    code: string;
                    startDate: string | null;
                    endDate: string | null;
                    minProductCount: number | null;
                    maxProductCount: number | null;
                } | null;
            } | null;
            addonData: {
                [x: string]: unknown;
            } | null;
            deliverySlot: unknown;
            ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
            ucpMetadata: {
                buyerEmail?: string | undefined;
                buyerName?: string | undefined;
                buyerPhone?: string | undefined;
                agentId?: string | undefined;
                externalReference?: string | undefined;
                escalationReason?: string | undefined;
            } | null;
            acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
            acpMetadata: {
                buyerEmail?: string | undefined;
                buyerName?: string | undefined;
                buyerPhone?: string | undefined;
                agentId?: string | undefined;
                externalReference?: string | undefined;
                idempotencyKey?: string | undefined;
            } | null;
            freeShippingThreshold: number | null;
            totalNet: number | null;
            subtotalNet: number | null;
            totalGross: number | null;
            subtotalGross: number | null;
            total: number | null;
            subtotal: number | null;
            totalTax: number | null;
            taxBreakdown: Record<string, {
                taxRate: {
                    id: string;
                    storeId: string;
                    name: string;
                    rate: string;
                    label: string | null;
                    createdAt: string;
                    updatedAt: string;
                };
                tax: number | null;
            }> | null;
            stripeTaxData: {
                amountTax: number;
                breakdown?: {
                    amount: number;
                    rate: {
                        displayName: string;
                        percentage: number;
                        jurisdiction?: string | null | undefined;
                    };
                }[] | null | undefined;
            } | null;
            currency: string | null;
            checkoutConsents: {
                id: string;
                content: unknown;
                required: boolean;
                accepted: boolean;
                type: "general" | "newsletter";
            }[] | null;
        };
        externalShipmentId: string | null;
        stripeDeduplicationId: string | null;
        activeSubscriptionId: string | null;
    } & {
        orderData: {
            id: string;
            storeId: string;
            shippingId: string | null;
            shipping: {
                id: string;
                storeId: string;
                name: string;
                price: string;
                freeShippingThreshold: string | null;
                minShippingTime: number | null;
                maxShippingTime: number | null;
                description: string | null;
                addonId: string | null;
                shippingAddon: {
                    type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
                    storeId: string;
                    id: string;
                    name: string;
                    createdAt: string;
                    updatedAt: string;
                } | null;
                type: "courier" | "parcel" | "pickup_point" | "in_store";
                addonData: {
                    id: number;
                    name: string;
                    service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
                } | null;
                deliverySlots: unknown;
                shippingTaxRate: {
                    shippingId: string;
                    taxRateId: string;
                    taxRate: {
                        id: string;
                        storeId: string;
                        name: string;
                        rate: string;
                        label: string | null;
                        createdAt: string;
                        updatedAt: string;
                    };
                    createdAt: string;
                    updatedAt: string;
                } | null;
                position: number | null;
                createdAt: string;
                updatedAt: string;
                countries: string[] | null;
            } | null;
            createdAt: string;
            lineItems: {
                id: string;
                cartId: string;
                quantity: number;
                createdAt: string;
                updatedAt: string;
                productVariant: {
                    id: string;
                    sku: string | null;
                    price: string;
                    originalPrice: string;
                    calculatedPrice: string | null;
                    prePromotionPrice: string | null;
                    preVolumePricingPrice: string | null;
                    stock: number | null;
                    depth: number | null;
                    width: number | null;
                    height: number | null;
                    weight: number | null;
                    images: string[];
                    digital: string[] | null;
                    shippable: boolean;
                    externalId: string | null;
                    product: {
                        id: string;
                        name: string;
                        slug: string;
                        status: "published" | "draft" | "hidden" | null;
                        images: string[];
                        badge: {
                            content?: string | undefined;
                            backgroundColor?: string | undefined;
                            textColor?: string | undefined;
                        } | null;
                        storeId: string;
                        categoryId: string | null;
                        summary: string | null;
                        content: any;
                        createdAt: string;
                        updatedAt: string;
                        productTaxRate: {
                            productId: string;
                            taxRateId: string;
                            taxRate: {
                                id: string;
                                storeId: string;
                                name: string;
                                rate: string;
                                label: string | null;
                                createdAt: string;
                                updatedAt: string;
                            };
                            createdAt: string;
                            updatedAt: string;
                        } | null;
                        flags: {
                            gold?: boolean | null | undefined;
                        } | null;
                        type: "product" | "bundle" | "set";
                        bundleDiscountPercentage: string | null;
                        productCollections: {
                            collection: {
                                createdAt: string;
                                description: any;
                                id: string;
                                image: string | null;
                                name: string;
                                slug: string;
                                storeId: string;
                                updatedAt: string;
                                filter: {
                                    type: "manual";
                                } | {
                                    type: "dynamicPrice";
                                    min?: number | null | undefined;
                                    max?: number | null | undefined;
                                };
                                active: boolean;
                                seo?: {
                                    title?: string | null | undefined;
                                    description?: string | null | undefined;
                                    canonical?: string | null | undefined;
                                } | null | undefined;
                            };
                            collectionId: string;
                            position: string | null;
                            productId: string;
                        }[];
                        bundleProducts: {
                            bundleId: string;
                            variantId: string;
                            quantity: number;
                            position: number;
                            createdAt: string;
                            updatedAt: string;
                            variant: {
                                id: string;
                                sku: string | null;
                                price: string;
                                shippable: boolean;
                                originalPrice: string;
                                calculatedPrice: string | null;
                                stock: number | null;
                                depth: number | null;
                                width: number | null;
                                height: number | null;
                                weight: number | null;
                                images: string[];
                                digital: string[] | null;
                                externalId: string | null;
                                product: {
                                    id: string;
                                    name: string;
                                    slug: string;
                                    images: string[];
                                    productTaxRate: {
                                        taxRate: {
                                            rate: string;
                                            label: string | null;
                                        };
                                    } | null;
                                };
                                createdAt: string;
                                productId: string;
                                updatedAt: string;
                                attributes: {
                                    checked: boolean | null;
                                    key: string;
                                    value: string;
                                }[] | null;
                                storeId: string;
                            };
                        }[];
                        setProduct: {
                            selectionCount: number;
                            allowDuplicates: boolean;
                            discountPercentage: string;
                        } | null;
                        seo: {
                            title?: string | null | undefined;
                            description?: string | null | undefined;
                            canonical?: string | null | undefined;
                        } | null;
                        stripeTaxCode: string | null;
                        active?: boolean | null | undefined;
                    };
                    createdAt: string;
                    productId: string;
                    updatedAt: string;
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            variantType: {
                                id: string;
                                label: string;
                                productId?: string | null | undefined;
                                createdAt?: string | null | undefined;
                                updatedAt?: string | null | undefined;
                            };
                            variantTypeId?: string | null | undefined;
                        };
                    }[];
                    attributes: {
                        checked: boolean | null;
                        key: string;
                        value: string;
                    }[] | null;
                    storeId: string;
                };
                productVariantId: string;
                preVolumePricingPrice: string | null;
                subscriptionPlanId: string | null;
                subscriptionPlan: {
                    id: string;
                    name: string;
                    cadence: "month" | "week";
                    interval: number;
                    discountPercent: number;
                    description: string | null;
                    benefits: string | null;
                    active: boolean;
                    createdAt: string;
                    position: number;
                    storeId: string;
                    updatedAt: string;
                } | null;
                slotId: string | null;
                attendees: {
                    name: string;
                    email: string;
                    phone: string | null;
                    dietary: string | null;
                    notes: string | null;
                }[] | null;
                setSelections: {
                    id: string;
                    lineItemId: string;
                    selectedVariantId: string;
                    quantity: number;
                    position: number;
                    createdAt: string;
                    updatedAt: string;
                    selectedVariant: {
                        id: string;
                        price: string;
                        product: {
                            id: string;
                            name: string;
                        };
                        combinations: {
                            createdAt: string;
                            updatedAt: string;
                            productVariantId: string;
                            variantValueId: string;
                            variantValue: {
                                id: string;
                                value: string;
                                variantType: {
                                    id: string;
                                    label: string;
                                    productId?: string | null | undefined;
                                    createdAt?: string | null | undefined;
                                    updatedAt?: string | null | undefined;
                                };
                                variantTypeId?: string | null | undefined;
                            };
                        }[];
                    };
                }[];
            }[];
            updatedAt: string;
            couponId: string | null;
            coupon: {
                type: "fixed" | "percentage";
                value: string;
                code: string;
                startDate: string | null;
                endDate: string | null;
                minProductCount: number | null;
                maxProductCount: number | null;
            } | null;
            billingAddress: {
                id: string;
                type: "shipping" | "billing" | "merchant";
                company: string | null;
                name: string | null;
                city: string | null;
                line1: string | null;
                line2: string | null;
                postalCode: string | null;
                state: string | null;
                country: string | null;
                phone: string | null;
                taxId: string | null;
                createdAt: string;
                updatedAt: string;
            } | null;
            shippingAddress: {
                id: string;
                type: "shipping" | "billing" | "merchant";
                company: string | null;
                name: string | null;
                city: string | null;
                line1: string | null;
                line2: string | null;
                postalCode: string | null;
                state: string | null;
                country: string | null;
                phone: string | null;
                taxId: string | null;
                createdAt: string;
                updatedAt: string;
            } | null;
            billingAddressId: string | null;
            shippingAddressId: string | null;
            stripePaymentIntentId: string | null;
            checkoutSessionId: string | null;
            customerId: string | null;
            customer: {
                id: string;
                email: string | null;
                storeId: string;
                createdAt: string;
                updatedAt: string;
                userId: string | null;
                user: {
                    id: string;
                    name: string;
                    email: string;
                } | null;
                couponId: string | null;
                coupon: {
                    type: "fixed" | "percentage";
                    value: string;
                    code: string;
                    startDate: string | null;
                    endDate: string | null;
                    minProductCount: number | null;
                    maxProductCount: number | null;
                } | null;
            } | null;
            addonData: {
                [x: string]: unknown;
            } | null;
            deliverySlot: unknown;
            ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
            ucpMetadata: {
                buyerEmail?: string | undefined;
                buyerName?: string | undefined;
                buyerPhone?: string | undefined;
                agentId?: string | undefined;
                externalReference?: string | undefined;
                escalationReason?: string | undefined;
            } | null;
            acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
            acpMetadata: {
                buyerEmail?: string | undefined;
                buyerName?: string | undefined;
                buyerPhone?: string | undefined;
                agentId?: string | undefined;
                externalReference?: string | undefined;
                idempotencyKey?: string | undefined;
            } | null;
            freeShippingThreshold: number | null;
            totalNet: number | null;
            subtotalNet: number | null;
            totalGross: number | null;
            subtotalGross: number | null;
            total: number | null;
            subtotal: number | null;
            totalTax: number | null;
            taxBreakdown: Record<string, {
                taxRate: {
                    id: string;
                    storeId: string;
                    name: string;
                    rate: string;
                    label: string | null;
                    createdAt: string;
                    updatedAt: string;
                };
                tax: number | null;
            }> | null;
            stripeTaxData: {
                amountTax: number;
                breakdown?: {
                    amount: number;
                    rate: {
                        displayName: string;
                        percentage: number;
                        jurisdiction?: string | null | undefined;
                    };
                }[] | null | undefined;
            } | null;
            currency: string | null;
            checkoutConsents: {
                id: string;
                content: unknown;
                required: boolean;
                accepted: boolean;
                type: "general" | "newsletter";
            }[] | null;
        };
    })[];
    meta: {
        count: number;
    };
};
type APIOrdersBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
};
type APIOrderGetByIdResult = {
    id: string;
    createdAt: string;
    updatedAt: string;
    status: "completed" | "cancelled" | "created" | "paid" | "processing" | "shipped" | "refunded" | "partially_refunded";
    environment: "live" | "test";
    storeId: string;
    customerId: string | null;
    lookup: number;
    cartId: string | null;
    orderData: {
        id: string;
        storeId: string;
        shippingId: string | null;
        shipping: {
            id: string;
            storeId: string;
            name: string;
            price: string;
            freeShippingThreshold: string | null;
            minShippingTime: number | null;
            maxShippingTime: number | null;
            description: string | null;
            addonId: string | null;
            shippingAddon: {
                type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
                storeId: string;
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
            } | null;
            type: "courier" | "parcel" | "pickup_point" | "in_store";
            addonData: {
                id: number;
                name: string;
                service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
            } | null;
            deliverySlots: unknown;
            shippingTaxRate: {
                shippingId: string;
                taxRateId: string;
                taxRate: {
                    id: string;
                    storeId: string;
                    name: string;
                    rate: string;
                    label: string | null;
                    createdAt: string;
                    updatedAt: string;
                };
                createdAt: string;
                updatedAt: string;
            } | null;
            position: number | null;
            createdAt: string;
            updatedAt: string;
            countries: string[] | null;
        } | null;
        createdAt: string;
        lineItems: {
            id: string;
            cartId: string;
            quantity: number;
            createdAt: string;
            updatedAt: string;
            productVariant: {
                id: string;
                sku: string | null;
                price: string;
                originalPrice: string;
                calculatedPrice: string | null;
                prePromotionPrice: string | null;
                preVolumePricingPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                images: string[];
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    status: "published" | "draft" | "hidden" | null;
                    images: string[];
                    badge: {
                        content?: string | undefined;
                        backgroundColor?: string | undefined;
                        textColor?: string | undefined;
                    } | null;
                    storeId: string;
                    categoryId: string | null;
                    summary: string | null;
                    content: any;
                    createdAt: string;
                    updatedAt: string;
                    productTaxRate: {
                        productId: string;
                        taxRateId: string;
                        taxRate: {
                            id: string;
                            storeId: string;
                            name: string;
                            rate: string;
                            label: string | null;
                            createdAt: string;
                            updatedAt: string;
                        };
                        createdAt: string;
                        updatedAt: string;
                    } | null;
                    flags: {
                        gold?: boolean | null | undefined;
                    } | null;
                    type: "product" | "bundle" | "set";
                    bundleDiscountPercentage: string | null;
                    productCollections: {
                        collection: {
                            createdAt: string;
                            description: any;
                            id: string;
                            image: string | null;
                            name: string;
                            slug: string;
                            storeId: string;
                            updatedAt: string;
                            filter: {
                                type: "manual";
                            } | {
                                type: "dynamicPrice";
                                min?: number | null | undefined;
                                max?: number | null | undefined;
                            };
                            active: boolean;
                            seo?: {
                                title?: string | null | undefined;
                                description?: string | null | undefined;
                                canonical?: string | null | undefined;
                            } | null | undefined;
                        };
                        collectionId: string;
                        position: string | null;
                        productId: string;
                    }[];
                    bundleProducts: {
                        bundleId: string;
                        variantId: string;
                        quantity: number;
                        position: number;
                        createdAt: string;
                        updatedAt: string;
                        variant: {
                            id: string;
                            sku: string | null;
                            price: string;
                            shippable: boolean;
                            originalPrice: string;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            images: string[];
                            digital: string[] | null;
                            externalId: string | null;
                            product: {
                                id: string;
                                name: string;
                                slug: string;
                                images: string[];
                                productTaxRate: {
                                    taxRate: {
                                        rate: string;
                                        label: string | null;
                                    };
                                } | null;
                            };
                            createdAt: string;
                            productId: string;
                            updatedAt: string;
                            attributes: {
                                checked: boolean | null;
                                key: string;
                                value: string;
                            }[] | null;
                            storeId: string;
                        };
                    }[];
                    setProduct: {
                        selectionCount: number;
                        allowDuplicates: boolean;
                        discountPercentage: string;
                    } | null;
                    seo: {
                        title?: string | null | undefined;
                        description?: string | null | undefined;
                        canonical?: string | null | undefined;
                    } | null;
                    stripeTaxCode: string | null;
                    active?: boolean | null | undefined;
                };
                createdAt: string;
                productId: string;
                updatedAt: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        variantType: {
                            id: string;
                            label: string;
                            productId?: string | null | undefined;
                            createdAt?: string | null | undefined;
                            updatedAt?: string | null | undefined;
                        };
                        variantTypeId?: string | null | undefined;
                    };
                }[];
                attributes: {
                    checked: boolean | null;
                    key: string;
                    value: string;
                }[] | null;
                storeId: string;
            };
            productVariantId: string;
            preVolumePricingPrice: string | null;
            subscriptionPlanId: string | null;
            subscriptionPlan: {
                id: string;
                name: string;
                cadence: "month" | "week";
                interval: number;
                discountPercent: number;
                description: string | null;
                benefits: string | null;
                active: boolean;
                createdAt: string;
                position: number;
                storeId: string;
                updatedAt: string;
            } | null;
            slotId: string | null;
            attendees: {
                name: string;
                email: string;
                phone: string | null;
                dietary: string | null;
                notes: string | null;
            }[] | null;
            setSelections: {
                id: string;
                lineItemId: string;
                selectedVariantId: string;
                quantity: number;
                position: number;
                createdAt: string;
                updatedAt: string;
                selectedVariant: {
                    id: string;
                    price: string;
                    product: {
                        id: string;
                        name: string;
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            variantType: {
                                id: string;
                                label: string;
                                productId?: string | null | undefined;
                                createdAt?: string | null | undefined;
                                updatedAt?: string | null | undefined;
                            };
                            variantTypeId?: string | null | undefined;
                        };
                    }[];
                };
            }[];
        }[];
        updatedAt: string;
        couponId: string | null;
        coupon: {
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
        } | null;
        billingAddress: {
            id: string;
            type: "shipping" | "billing" | "merchant";
            company: string | null;
            name: string | null;
            city: string | null;
            line1: string | null;
            line2: string | null;
            postalCode: string | null;
            state: string | null;
            country: string | null;
            phone: string | null;
            taxId: string | null;
            createdAt: string;
            updatedAt: string;
        } | null;
        shippingAddress: {
            id: string;
            type: "shipping" | "billing" | "merchant";
            company: string | null;
            name: string | null;
            city: string | null;
            line1: string | null;
            line2: string | null;
            postalCode: string | null;
            state: string | null;
            country: string | null;
            phone: string | null;
            taxId: string | null;
            createdAt: string;
            updatedAt: string;
        } | null;
        billingAddressId: string | null;
        shippingAddressId: string | null;
        stripePaymentIntentId: string | null;
        checkoutSessionId: string | null;
        customerId: string | null;
        customer: {
            id: string;
            email: string | null;
            storeId: string;
            createdAt: string;
            updatedAt: string;
            userId: string | null;
            user: {
                id: string;
                name: string;
                email: string;
            } | null;
            couponId: string | null;
            coupon: {
                type: "fixed" | "percentage";
                value: string;
                code: string;
                startDate: string | null;
                endDate: string | null;
                minProductCount: number | null;
                maxProductCount: number | null;
            } | null;
        } | null;
        addonData: {
            [x: string]: unknown;
        } | null;
        deliverySlot: unknown;
        ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
        ucpMetadata: {
            buyerEmail?: string | undefined;
            buyerName?: string | undefined;
            buyerPhone?: string | undefined;
            agentId?: string | undefined;
            externalReference?: string | undefined;
            escalationReason?: string | undefined;
        } | null;
        acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
        acpMetadata: {
            buyerEmail?: string | undefined;
            buyerName?: string | undefined;
            buyerPhone?: string | undefined;
            agentId?: string | undefined;
            externalReference?: string | undefined;
            idempotencyKey?: string | undefined;
        } | null;
        freeShippingThreshold: number | null;
        totalNet: number | null;
        subtotalNet: number | null;
        totalGross: number | null;
        subtotalGross: number | null;
        total: number | null;
        subtotal: number | null;
        totalTax: number | null;
        taxBreakdown: Record<string, {
            taxRate: {
                id: string;
                storeId: string;
                name: string;
                rate: string;
                label: string | null;
                createdAt: string;
                updatedAt: string;
            };
            tax: number | null;
        }> | null;
        stripeTaxData: {
            amountTax: number;
            breakdown?: {
                amount: number;
                rate: {
                    displayName: string;
                    percentage: number;
                    jurisdiction?: string | null | undefined;
                };
            }[] | null | undefined;
        } | null;
        currency: string | null;
        checkoutConsents: {
            id: string;
            content: unknown;
            required: boolean;
            accepted: boolean;
            type: "general" | "newsletter";
        }[] | null;
    };
    externalShipmentId: string | null;
    stripeDeduplicationId: string | null;
    activeSubscriptionId: string | null;
    activeSubscription: {
        id: string;
        createdAt: string;
        updatedAt: string;
        interval: number;
        status: "active" | "incomplete" | "canceled" | "past_due" | "unpaid" | "paused" | "incomplete_expired" | "trialing";
        stripeCustomerId: string | null;
        environment: "live" | "test";
        stripeSubscriptionId: string;
        storeId: string;
        quantity: number;
        productId: string;
        productVariantId: string;
        cadence: "month" | "week";
        stripeDeduplicationId: string | null;
        originalOrderId: string;
        canceledAt: Date | null;
        cancelAt: Date | null;
        cancelAtPeriodEnd: boolean | null;
        cancellationDetails: {
            comment?: string | null;
            feedback?: string | null;
            reason?: string | null;
        } | null;
        productSnapshot: unknown;
        productVariantSnapshot: unknown;
        shippingSnapshot: unknown;
        pausedAt: Date | null;
        resumeAt: Date | null;
        skippedUntil: Date | null;
        skipCount: number;
        nextBillingDate: Date | null;
    } | null;
} & {
    orderData: {
        id: string;
        storeId: string;
        shippingId: string | null;
        shipping: {
            id: string;
            storeId: string;
            name: string;
            price: string;
            freeShippingThreshold: string | null;
            minShippingTime: number | null;
            maxShippingTime: number | null;
            description: string | null;
            addonId: string | null;
            shippingAddon: {
                type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
                storeId: string;
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
            } | null;
            type: "courier" | "parcel" | "pickup_point" | "in_store";
            addonData: {
                id: number;
                name: string;
                service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
            } | null;
            deliverySlots: unknown;
            shippingTaxRate: {
                shippingId: string;
                taxRateId: string;
                taxRate: {
                    id: string;
                    storeId: string;
                    name: string;
                    rate: string;
                    label: string | null;
                    createdAt: string;
                    updatedAt: string;
                };
                createdAt: string;
                updatedAt: string;
            } | null;
            position: number | null;
            createdAt: string;
            updatedAt: string;
            countries: string[] | null;
        } | null;
        createdAt: string;
        lineItems: {
            id: string;
            cartId: string;
            quantity: number;
            createdAt: string;
            updatedAt: string;
            productVariant: {
                id: string;
                sku: string | null;
                price: string;
                originalPrice: string;
                calculatedPrice: string | null;
                prePromotionPrice: string | null;
                preVolumePricingPrice: string | null;
                stock: number | null;
                depth: number | null;
                width: number | null;
                height: number | null;
                weight: number | null;
                images: string[];
                digital: string[] | null;
                shippable: boolean;
                externalId: string | null;
                product: {
                    id: string;
                    name: string;
                    slug: string;
                    status: "published" | "draft" | "hidden" | null;
                    images: string[];
                    badge: {
                        content?: string | undefined;
                        backgroundColor?: string | undefined;
                        textColor?: string | undefined;
                    } | null;
                    storeId: string;
                    categoryId: string | null;
                    summary: string | null;
                    content: any;
                    createdAt: string;
                    updatedAt: string;
                    productTaxRate: {
                        productId: string;
                        taxRateId: string;
                        taxRate: {
                            id: string;
                            storeId: string;
                            name: string;
                            rate: string;
                            label: string | null;
                            createdAt: string;
                            updatedAt: string;
                        };
                        createdAt: string;
                        updatedAt: string;
                    } | null;
                    flags: {
                        gold?: boolean | null | undefined;
                    } | null;
                    type: "product" | "bundle" | "set";
                    bundleDiscountPercentage: string | null;
                    productCollections: {
                        collection: {
                            createdAt: string;
                            description: any;
                            id: string;
                            image: string | null;
                            name: string;
                            slug: string;
                            storeId: string;
                            updatedAt: string;
                            filter: {
                                type: "manual";
                            } | {
                                type: "dynamicPrice";
                                min?: number | null | undefined;
                                max?: number | null | undefined;
                            };
                            active: boolean;
                            seo?: {
                                title?: string | null | undefined;
                                description?: string | null | undefined;
                                canonical?: string | null | undefined;
                            } | null | undefined;
                        };
                        collectionId: string;
                        position: string | null;
                        productId: string;
                    }[];
                    bundleProducts: {
                        bundleId: string;
                        variantId: string;
                        quantity: number;
                        position: number;
                        createdAt: string;
                        updatedAt: string;
                        variant: {
                            id: string;
                            sku: string | null;
                            price: string;
                            shippable: boolean;
                            originalPrice: string;
                            calculatedPrice: string | null;
                            stock: number | null;
                            depth: number | null;
                            width: number | null;
                            height: number | null;
                            weight: number | null;
                            images: string[];
                            digital: string[] | null;
                            externalId: string | null;
                            product: {
                                id: string;
                                name: string;
                                slug: string;
                                images: string[];
                                productTaxRate: {
                                    taxRate: {
                                        rate: string;
                                        label: string | null;
                                    };
                                } | null;
                            };
                            createdAt: string;
                            productId: string;
                            updatedAt: string;
                            attributes: {
                                checked: boolean | null;
                                key: string;
                                value: string;
                            }[] | null;
                            storeId: string;
                        };
                    }[];
                    setProduct: {
                        selectionCount: number;
                        allowDuplicates: boolean;
                        discountPercentage: string;
                    } | null;
                    seo: {
                        title?: string | null | undefined;
                        description?: string | null | undefined;
                        canonical?: string | null | undefined;
                    } | null;
                    stripeTaxCode: string | null;
                    active?: boolean | null | undefined;
                };
                createdAt: string;
                productId: string;
                updatedAt: string;
                combinations: {
                    createdAt: string;
                    updatedAt: string;
                    productVariantId: string;
                    variantValueId: string;
                    variantValue: {
                        id: string;
                        value: string;
                        variantType: {
                            id: string;
                            label: string;
                            productId?: string | null | undefined;
                            createdAt?: string | null | undefined;
                            updatedAt?: string | null | undefined;
                        };
                        variantTypeId?: string | null | undefined;
                    };
                }[];
                attributes: {
                    checked: boolean | null;
                    key: string;
                    value: string;
                }[] | null;
                storeId: string;
            };
            productVariantId: string;
            preVolumePricingPrice: string | null;
            subscriptionPlanId: string | null;
            subscriptionPlan: {
                id: string;
                name: string;
                cadence: "month" | "week";
                interval: number;
                discountPercent: number;
                description: string | null;
                benefits: string | null;
                active: boolean;
                createdAt: string;
                position: number;
                storeId: string;
                updatedAt: string;
            } | null;
            slotId: string | null;
            attendees: {
                name: string;
                email: string;
                phone: string | null;
                dietary: string | null;
                notes: string | null;
            }[] | null;
            setSelections: {
                id: string;
                lineItemId: string;
                selectedVariantId: string;
                quantity: number;
                position: number;
                createdAt: string;
                updatedAt: string;
                selectedVariant: {
                    id: string;
                    price: string;
                    product: {
                        id: string;
                        name: string;
                    };
                    combinations: {
                        createdAt: string;
                        updatedAt: string;
                        productVariantId: string;
                        variantValueId: string;
                        variantValue: {
                            id: string;
                            value: string;
                            variantType: {
                                id: string;
                                label: string;
                                productId?: string | null | undefined;
                                createdAt?: string | null | undefined;
                                updatedAt?: string | null | undefined;
                            };
                            variantTypeId?: string | null | undefined;
                        };
                    }[];
                };
            }[];
        }[];
        updatedAt: string;
        couponId: string | null;
        coupon: {
            type: "fixed" | "percentage";
            value: string;
            code: string;
            startDate: string | null;
            endDate: string | null;
            minProductCount: number | null;
            maxProductCount: number | null;
        } | null;
        billingAddress: {
            id: string;
            type: "shipping" | "billing" | "merchant";
            company: string | null;
            name: string | null;
            city: string | null;
            line1: string | null;
            line2: string | null;
            postalCode: string | null;
            state: string | null;
            country: string | null;
            phone: string | null;
            taxId: string | null;
            createdAt: string;
            updatedAt: string;
        } | null;
        shippingAddress: {
            id: string;
            type: "shipping" | "billing" | "merchant";
            company: string | null;
            name: string | null;
            city: string | null;
            line1: string | null;
            line2: string | null;
            postalCode: string | null;
            state: string | null;
            country: string | null;
            phone: string | null;
            taxId: string | null;
            createdAt: string;
            updatedAt: string;
        } | null;
        billingAddressId: string | null;
        shippingAddressId: string | null;
        stripePaymentIntentId: string | null;
        checkoutSessionId: string | null;
        customerId: string | null;
        customer: {
            id: string;
            email: string | null;
            storeId: string;
            createdAt: string;
            updatedAt: string;
            userId: string | null;
            user: {
                id: string;
                name: string;
                email: string;
            } | null;
            couponId: string | null;
            coupon: {
                type: "fixed" | "percentage";
                value: string;
                code: string;
                startDate: string | null;
                endDate: string | null;
                minProductCount: number | null;
                maxProductCount: number | null;
            } | null;
        } | null;
        addonData: {
            [x: string]: unknown;
        } | null;
        deliverySlot: unknown;
        ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
        ucpMetadata: {
            buyerEmail?: string | undefined;
            buyerName?: string | undefined;
            buyerPhone?: string | undefined;
            agentId?: string | undefined;
            externalReference?: string | undefined;
            escalationReason?: string | undefined;
        } | null;
        acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
        acpMetadata: {
            buyerEmail?: string | undefined;
            buyerName?: string | undefined;
            buyerPhone?: string | undefined;
            agentId?: string | undefined;
            externalReference?: string | undefined;
            idempotencyKey?: string | undefined;
        } | null;
        freeShippingThreshold: number | null;
        totalNet: number | null;
        subtotalNet: number | null;
        totalGross: number | null;
        subtotalGross: number | null;
        total: number | null;
        subtotal: number | null;
        totalTax: number | null;
        taxBreakdown: Record<string, {
            taxRate: {
                id: string;
                storeId: string;
                name: string;
                rate: string;
                label: string | null;
                createdAt: string;
                updatedAt: string;
            };
            tax: number | null;
        }> | null;
        stripeTaxData: {
            amountTax: number;
            breakdown?: {
                amount: number;
                rate: {
                    displayName: string;
                    percentage: number;
                    jurisdiction?: string | null | undefined;
                };
            }[] | null | undefined;
        } | null;
        currency: string | null;
        checkoutConsents: {
            id: string;
            content: unknown;
            required: boolean;
            accepted: boolean;
            type: "general" | "newsletter";
        }[] | null;
    };
};
type APIOrderGetByIdParams = {
    id: string;
};
type APICategoriesBrowseResult = Omit<{
    data: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        description: JSONContent | null;
        position: string;
        parentId: string | null;
    }[];
    meta: {
        count: number;
    };
}, "data"> & {
    data: Array<{
        data: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            description: JSONContent | null;
            position: string;
            parentId: string | null;
        }[];
        meta: {
            count: number;
        };
    }["data"][number] & {
        lang?: string;
    }>;
};
type APICategoriesBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
    query?: string | undefined;
    active?: boolean | undefined;
    lang?: string | undefined;
};
type APICategoryGetByIdResult = ({
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    description: JSONContent | null;
    position: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    parentId: string | null;
    products: {
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        type: "product" | "bundle" | "set";
        slug: string;
        status: "published" | "draft" | "hidden" | null;
        flags: unknown;
        storeId: string;
        summary: string | null;
        content: JSONContent | null;
        images: string[];
        badge: unknown;
        bundleDiscountPercentage: string | null;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        stripeTaxCode: string | null;
        categoryId: string | null;
    }[];
    parent: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        storeId: string;
        description: JSONContent | null;
        position: string;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        longDescription: JSONContent | null;
        parentId: string | null;
        products: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
        }[];
        parent: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
            products: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                type: "product" | "bundle" | "set";
                slug: string;
                status: "published" | "draft" | "hidden" | null;
                flags: unknown;
                storeId: string;
                summary: string | null;
                content: JSONContent | null;
                images: string[];
                badge: unknown;
                bundleDiscountPercentage: string | null;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                stripeTaxCode: string | null;
                categoryId: string | null;
            }[];
        } | null;
    } | null;
    children: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        storeId: string;
        description: JSONContent | null;
        position: string;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        longDescription: JSONContent | null;
        parentId: string | null;
        products: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
        }[];
        children: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            updatedAt: string;
            slug: string;
            active: boolean;
            storeId: string;
            description: JSONContent | null;
            position: string;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            longDescription: JSONContent | null;
            parentId: string | null;
            products: {
                id: string;
                name: string;
                createdAt: string;
                updatedAt: string;
                type: "product" | "bundle" | "set";
                slug: string;
                status: "published" | "draft" | "hidden" | null;
                flags: unknown;
                storeId: string;
                summary: string | null;
                content: JSONContent | null;
                images: string[];
                badge: unknown;
                bundleDiscountPercentage: string | null;
                seo: {
                    title?: string | null | undefined;
                    description?: string | null | undefined;
                    canonical?: string | null | undefined;
                } | null;
                stripeTaxCode: string | null;
                categoryId: string | null;
            }[];
        }[];
    }[];
} | {
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    description: JSONContent | null;
    position: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    parentId: string | null;
}) & {
    lang?: string;
};
type APICategoryGetByIdParams = {
    idOrSlug: string;
};
type APICategoryGetByIdQueryParams = {
    lang?: string;
};
type APICollectionsBrowseResult = Omit<{
    data: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        slug: string;
        active: boolean;
        description: JSONContent | null;
        productCollections: {
            productId: string;
        }[];
        tr: {
            locale: string;
        }[];
    }[];
    meta: {
        count: number;
    };
}, "data"> & {
    data: Array<{
        data: {
            id: string;
            name: string;
            image: string | null;
            createdAt: string;
            slug: string;
            active: boolean;
            description: JSONContent | null;
            productCollections: {
                productId: string;
            }[];
            tr: {
                locale: string;
            }[];
        }[];
        meta: {
            count: number;
        };
    }["data"][number] & {
        lang?: string;
    }>;
};
type APICollectionsBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
    query?: string | undefined;
    active?: boolean | undefined;
    lang?: string | undefined;
};
type APICollectionGetByIdResult = ({
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    filter: {
        type: "manual";
    } | {
        type: "dynamicPrice";
        min?: number | null | undefined;
        max?: number | null | undefined;
    };
    storeId: string;
    description: JSONContent | null;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    productCollections: {
        position: string | null;
        productId: string;
        collectionId: string;
        product: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
        };
    }[];
} | {
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    filter: {
        type: "manual";
    } | {
        type: "dynamicPrice";
        min?: number | null | undefined;
        max?: number | null | undefined;
    };
    storeId: string;
    description: JSONContent | null;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    productCollections: {
        position: string | null;
        productId: string;
        collectionId: string;
        product: {
            id: string;
            name: string;
            createdAt: string;
            updatedAt: string;
            type: "product" | "bundle" | "set";
            slug: string;
            status: "published" | "draft" | "hidden" | null;
            flags: unknown;
            storeId: string;
            summary: string | null;
            content: JSONContent | null;
            images: string[];
            badge: unknown;
            bundleDiscountPercentage: string | null;
            seo: {
                title?: string | null | undefined;
                description?: string | null | undefined;
                canonical?: string | null | undefined;
            } | null;
            stripeTaxCode: string | null;
            categoryId: string | null;
        };
    }[];
}) & {
    lang?: string;
};
type APICollectionGetByIdParams = {
    idOrSlug: string;
};
type APICollectionGetByIdQueryParams = {
    lang?: string;
};
type APIMeGetResult = {
    store: NonNullable<{
        settings: {
            enabledTools: {
                blog: boolean;
                newsletter: boolean;
                loyalty: boolean;
                reviews: boolean;
                productSubscriptions: boolean;
                contactForm: boolean;
                wishlist: boolean;
                cookieConsent: boolean;
                auctions: boolean;
                surveys: boolean;
                bookings: boolean;
                productSets: boolean;
                restockNotifications: boolean;
                abandonedCarts: boolean;
                newsletterPopup: boolean;
                stripeTaxes: boolean;
                translations: boolean;
                cartRecommendations: boolean;
                withdrawalButton: boolean;
            } | null;
            defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null;
            enabledLanguages: {
                "en-US": boolean;
                "pl-PL": boolean;
                "es-ES": boolean;
                "de-DE": boolean;
            } | null;
            storeName?: string | null | undefined;
            storeDescription?: string | null | undefined;
            freeShippingThreshold?: string | number | bigint | null | undefined;
            pageWidth?: "default" | "full" | "narrow" | "wider" | "widest" | null | undefined;
            fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
            fontFamilyHeadings?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
            fontSizes?: {
                h2?: number | null | undefined;
                h3?: number | null | undefined;
                h4?: number | null | undefined;
                h5?: number | null | undefined;
                text?: number | null | undefined;
            } | null | undefined;
            logo?: string | {
                imageUrl: string;
                width?: number | null | undefined;
                height?: number | null | undefined;
            } | null | undefined;
            ogimage?: string | null | undefined;
            favicon?: {
                imageUrl: string;
                width?: number | null | undefined;
                height?: number | null | undefined;
            } | null | undefined;
            colors?: {
                paletteName?: string | null | undefined;
                palette?: {
                    theme?: {
                        background?: string | undefined;
                    } | undefined;
                    "theme-primary"?: {
                        DEFAULT?: string | undefined;
                        background?: string | undefined;
                    } | undefined;
                    "theme-button"?: {
                        DEFAULT?: string | undefined;
                        background?: string | undefined;
                    } | undefined;
                } | undefined;
            } | null | undefined;
            invoiceSettings?: {
                template: string;
                cadence: "monthly" | "yearly";
                enabled?: boolean | null | undefined;
                notes?: string | null | undefined;
            } | null | undefined;
            outboundEmail?: string | null | undefined;
            notificationEmail?: string | null | undefined;
            notifications?: {
                newOrderNotifications: boolean | null;
                lowStockNotifications: boolean | null;
            } | null | undefined;
            buttons?: {
                borderWidth?: number | null | undefined;
                borderRadius?: "full" | "none" | "sm" | "md" | "lg" | null | undefined;
                shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
                colors?: {
                    background?: string | null | undefined;
                    text?: string | null | undefined;
                    backgroundHover?: string | null | undefined;
                    textHover?: string | null | undefined;
                    border?: string | null | undefined;
                } | null | undefined;
            } | null | undefined;
            cartIcon?: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
            productCards?: {
                borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
            } | null | undefined;
            blogFilterConfig?: {
                mode: "simple" | "faceted";
                facets: {
                    id: string;
                    label: string;
                    type: "single" | "multiple";
                    options: {
                        value: string;
                        label: string;
                    }[];
                }[];
            } | null | undefined;
            omnibus?: boolean | null | undefined;
            detectedCountry?: string | null | undefined;
            apiKeys?: {
                id: string;
                apiKeyLookup: string;
                apiKeyHash: string;
                apiKeyDisplay: string;
                createdAt: string;
                name?: string | undefined;
            }[] | null | undefined;
            loyalty?: {
                pointsPerUnit: number;
                redemptionRate: number;
                minRedemption: number;
                maxRedeemPercent: number;
                pointsExpiryMonths: number | null;
            } | null | undefined;
            bookings?: {
                timezone: string;
                defaultSlotDuration: number;
                bufferTime: number;
                advanceBookingDays: number;
                cancellationHours: number;
                autoConfirm: boolean;
                requireApproval: boolean;
                sendReminders: boolean;
                reminderHours: number;
            } | null | undefined;
            subscriptions?: Record<string, never> | null | undefined;
            dashboard?: {
                widgets: {
                    id: string;
                    type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
                    position: number;
                    size: {
                        width: 1 | 2 | 3 | 4;
                        height: 1 | 2 | 3 | 4;
                    };
                    visible: boolean;
                    settings?: Record<string, unknown> | undefined;
                }[];
            } | null | undefined;
            emailTracking?: {
                trackClicks: boolean;
                trackOpens: boolean;
            } | null | undefined;
            newsletterPopup?: {
                delaySeconds: number;
                heading?: string | undefined;
                subheading?: string | undefined;
                ctaText?: string | undefined;
                teaserText?: string | undefined;
                imageUrl?: string | undefined;
                discountCode?: string | undefined;
            } | null | undefined;
            cartRecommendations?: {
                layout: "inline" | "sidebar";
            } | null | undefined;
            aiInstructions?: string | null | undefined;
            enabledCurrencies?: string[] | null | undefined;
            freeShippingThresholds?: Record<string, string> | null | undefined;
        } | null | undefined;
        flags: {
            verifyPKD?: boolean | null | undefined;
            gold?: boolean | null | undefined;
            showReferralBadge?: boolean | null | undefined;
        } | undefined;
        id: string;
        name: string;
        createdAt: string;
        updatedAt: string;
        organizationId: string | null;
        addressId: string | null;
        subdomain: string;
        domain: string | null;
        emailDomain: string | null;
        emailDomainId: string | null;
        emailDomainVerified: boolean;
        locale: string;
        currency: string;
        taxBehavior: "inclusive" | "exclusive";
        clerkOrganizationId: string | null;
        stripeAccountId: string | null;
        stripeCustomerId: string | null;
        environment: "live" | "test";
        subscribed: boolean;
        stripeSubscriptionId: string | null;
        stripeSubscriptionName: "free_monthly" | "free_yearly" | "starter_monthly" | "starter_yearly" | "growth_monthly" | "growth_yearly" | "pro_monthly" | "pro_yearly" | null;
        storeStatus: "active" | "suspended" | "maintenance";
        legacyFreeGracePeriodEnd: string | null;
        customTransactionFee: string | null;
        lastAppliedStoreThemeId: string | null;
        builderType: "aibuilder" | "storebuilder";
        published: boolean;
        builderConfig: {
            method: "internal";
            sandboxId: string;
            sandboxUrl: string;
            wsUrl?: string | undefined;
            vercelProjectId: string;
            gitHubDeployKey: string;
            styles?: {
                colorPalette: {
                    id: string;
                    name: string;
                    colors: {
                        background: string;
                        accent1: string;
                        accent2: string;
                        text: string;
                    };
                };
                typography: {
                    id: string;
                    name: string;
                    fontFamily: string;
                };
                corners: {
                    id: string;
                    name: string;
                    radius: string;
                };
                theme?: {
                    background: string;
                    foreground: string;
                    primary: string;
                    primaryForeground: string;
                    secondary: string;
                    secondaryForeground: string;
                    muted: string;
                    mutedForeground: string;
                    accent: string;
                    accentForeground: string;
                    border: string;
                    radius: string;
                } | undefined;
            } | undefined;
            maxMode?: boolean | undefined;
        } | null;
        appSumoLicenseKey: string | null;
        appSumoLicense: {
            createdAt: string;
            updatedAt: string;
            userId: string | null;
            licenseKey: string;
            licenseStatus: "active" | "inactive";
            tier: number | null;
            extra: unknown;
        } | null;
        address: {
            id: string;
            name: string | null;
            createdAt: string;
            updatedAt: string;
            type: "shipping" | "billing" | "merchant";
            company: string | null;
            city: string | null;
            country: string | null;
            line1: string | null;
            line2: string | null;
            postalCode: string | null;
            state: string | null;
            phone: string | null;
            taxId: string | null;
        } | null;
    }>;
    storeBaseUrl: string;
    publicUrl: string;
};
type APIPostsBrowseResult = {
    data: {
        id: string;
        image: string | null;
        createdAt: string;
        slug: string;
        active: boolean;
        content: JSONContent;
        title: string;
        tag: string | null;
        filters: unknown;
        publishedAt: string | null;
    }[];
    meta: {
        count: number;
        offset: number;
        limit: number;
    };
};
type APIPostsBrowseQueryParams = {
    offset?: number;
    limit?: number;
    query?: string;
    active?: boolean;
    tag?: string;
    categoryId?: string;
};
type APIPostGetByIdResult = {
    id: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    content: JSONContent;
    title: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    tag: string | null;
    filters: unknown;
    publishedAt: string | null;
} | null | undefined;
type APIPostGetByIdParams = {
    idOrSlug: string;
};
type APIPostCreateBody = {
    title: string;
    slug: string;
    content: Record<string, unknown>;
    image?: string | null;
    tag?: string | null;
    filters?: Record<string, string>;
    active?: boolean;
    publishedAt?: string;
    seo?: {
        title?: string | null;
        description?: string | null;
        canonical?: string | null;
    };
};
type APIPostCreateResult = {
    id: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    content: JSONContent;
    title: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    tag: string | null;
    filters: unknown;
    publishedAt: string | null;
} | null | undefined;
type APIPostUpdateBody = {
    title?: string;
    slug?: string;
    content?: Record<string, unknown>;
    image?: string | null;
    tag?: string | null;
    filters?: Record<string, string>;
    active?: boolean;
    publishedAt?: string | null;
    seo?: {
        title?: string | null;
        description?: string | null;
        canonical?: string | null;
    };
};
type APIPostUpdateResult = {
    id: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    content: JSONContent;
    title: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    tag: string | null;
    filters: unknown;
    publishedAt: string | null;
} | null | undefined;
type APIPostDeleteResult = {
    message: string;
};
type APIBlogCategoriesBrowseResult = {
    data: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        updatedAt: string;
        slug: string;
        active: boolean;
        storeId: string;
        description: string | null;
        position: string;
        seo: {
            title?: string | null | undefined;
            description?: string | null | undefined;
            canonical?: string | null | undefined;
        } | null;
        postCount: number;
    }[];
    meta: {
        count: number;
        offset: number;
        limit: number;
    };
};
type APIBlogCategoriesBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
    query?: string | undefined;
    active?: boolean | undefined;
};
type APIBlogCategoryGetByIdResult = {
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    description: string | null;
    position: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
};
type APIBlogCategoryGetByIdParams = {
    idOrSlug: string;
};
type APIPostCommentsBrowseResult = {
    data: Array<{
        id: string;
        author: string | null;
        content: string;
        createdAt: string;
    }>;
    meta: {
        count: number;
        offset: number;
        limit: number;
    };
};
type APIPostCommentsBrowseQueryParams = {
    offset?: number | undefined;
    limit?: number | undefined;
};
type APIPostCommentCreateBody = {
    author: string;
    email: string;
    content: string;
};
type APIPostCommentCreateResult = {
    id: string;
    author: string | null;
    content: string;
    createdAt: string;
};
type APICustomersBrowseResult = {
    items: Array<{
        id: string;
        email: string | null;
        name: string | null;
        createdAt: string;
    }>;
    pagination: {
        total: number;
        offset: number;
        limit: number;
        hasMore: boolean;
    };
};
type APICustomersBrowseQueryParams = {
    limit?: number;
    offset?: number;
    search?: string;
};
type APICustomerGetByIdResult = {
    id: string;
    email: string | null;
    name: string | null;
    phone: string | null;
    addresses: Array<{
        id: string;
        line1: string | null;
        line2: string | null;
        city: string | null;
        postalCode: string | null;
        country: string | null;
        state: string | null;
        name: string | null;
        company: string | null;
        phone: string | null;
    }>;
    createdAt: string;
};
type APICustomerGetByIdParams = {
    id: string;
};
type APICustomerUpdateBody = {
    name?: string;
    phone?: string;
};
type APICustomerUpdateResult = {
    id: string;
    message: string;
};
type APICustomerAddressCreateBody = {
    line1: string;
    line2?: string;
    city: string;
    postalCode: string;
    country?: string;
    state?: string;
    name?: string;
    company?: string;
    phone?: string;
};
type APICustomerAddressCreateResult = {
    id: string;
    line1: string | null;
    line2: string | null;
    city: string | null;
    postalCode: string | null;
    country: string | null;
    state: string | null;
    name: string | null;
    company: string | null;
    phone: string | null;
};
type APICustomerOrdersBrowseResult = {
    items: Array<{
        id: string;
        orderNumber: string | null;
        status: string;
        totalCents: number;
        currency: string;
        createdAt: string;
    }>;
    pagination: {
        total: number;
        offset: number;
        limit: number;
        hasMore: boolean;
    };
};
type APICustomerOrdersBrowseQueryParams = {
    limit?: number;
    offset?: number;
};
type APIInventoryBrowseResult = {
    items: Array<{
        sku: string | null;
        onHand: number;
        reserved: number;
        available: number;
    }>;
    pagination: {
        cursor: string | null;
        hasMore: boolean;
    };
};
type APIInventoryBrowseQueryParams = {
    limit?: number;
    cursor?: string;
    lowStock?: number;
};
type APIInventoryAdjustBody = {
    delta: number;
    reason: "restock" | "correction" | "damaged" | "return";
};
type APIInventoryAdjustResult = {
    sku: string | null;
    previousStock: number;
    adjustment: number;
    newStock: number | null;
    reason: string;
};
type APIVariantGetByIdResult = {
    id: string;
    sku: string | null;
    title: string | null;
    priceCents: number;
    currency: string;
    imageUrl: string | null;
    stock: number | null;
    productId: string;
    product: {
        id: string;
        name: string;
        slug: string;
        images: string[];
    };
};
type APIVariantGetByIdParams = {
    idOrSku: string;
};
type APIVariantGetByIdQueryParams = {
    currency?: string;
};
type APIVariantUpdateBody = {
    sku?: string;
    title?: string;
    priceCents?: number;
    imageUrl?: string | null;
    images?: string[];
    stock?: number;
};
type APIVariantUpdateResult = {
    id: string;
    sku: string | null;
    title: string | null;
    priceCents: number;
    imageUrl: string | null;
    images: string[];
    stock: number | null;
    productId: string;
};
type APIVariantCreateBody = {
    sku: string;
    title: string;
    priceCents: number;
    imageUrl?: string;
    stock?: number;
};
type APIVariantCreateResult = {
    id: string;
    sku: string | null;
    title: string | null;
    priceCents: number;
    imageUrl: string | null;
    stock: number | null;
};
type APISubscriberCreateBody = {
    email: string;
    name?: string;
};
type APISubscriberCreateResult = {
    id: string;
    name: string | null;
    email: string;
    createdAt: string;
    updatedAt: string;
    storeId: string;
    location: string | null;
    source: string;
    unsubscribed: boolean;
    unsubscribedAt: string | null;
    unsubscribeToken: string | null;
} | undefined;
type APISubscriberDeleteResult = {
    status: "unsubscribed";
};
type APIContactMessageCreateBody = {
    email: string;
    message: string;
};
type APIContactMessageCreateResult = {
    id: string;
    email: string;
    createdAt: string;
    updatedAt: string;
    storeId: string;
    message: string;
    readAt: string | null;
} | undefined;
type APIProductCreateBody = {
    name: string;
    slug: string;
    description?: string;
    content?: Record<string, unknown>;
    price: number;
    images?: string[];
    category?: string;
    quantity?: number;
};
type APIProductCreateResult = {
    message: string;
    product: {
        id: string;
        name: string;
        slug: string;
        description?: string;
        content?: Record<string, unknown> | null;
        category?: string;
        images: string[];
        variant: {
            id: string;
            price: string;
            stock: number | null;
        } | null;
    };
};
type APIProductUpdateBody = {
    title?: string;
    description?: string;
    content?: Record<string, unknown>;
    images?: string[];
    status?: "active" | "draft";
};
type APIProductUpdateQueryParams = {
    lang?: string;
};
type APIProductUpdateResult = {
    id: string;
    title: string;
    description: string | null;
    content: Record<string, unknown> | null;
    images: string[];
    status: "active" | "draft";
};
type APIProductDeleteQueryParams = {
    lang?: string;
};
type APIProductDeleteResult = {
    message: string;
};
type APICategoryCreateBody = {
    name: string;
    slug?: string;
    description?: string;
    image?: string;
    parentId?: string;
    active?: boolean;
};
type APICategoryCreateResult = {
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    description: JSONContent | null;
    position: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    parentId: string | null;
};
type APICategoryUpdateBody = {
    name?: string;
    slug?: string;
    description?: string | null;
    image?: string | null;
    parentId?: string | null;
    active?: boolean;
};
type APICategoryUpdateQueryParams = {
    lang?: string;
};
type APICategoryUpdateResult = {
    id: string;
    name: string;
    image: string | null;
    createdAt: string;
    updatedAt: string;
    slug: string;
    active: boolean;
    storeId: string;
    description: JSONContent | null;
    position: string;
    seo: {
        title?: string | null | undefined;
        description?: string | null | undefined;
        canonical?: string | null | undefined;
    } | null;
    longDescription: JSONContent | null;
    parentId: string | null;
};
type APIOrderUpdateBody = {
    status?: "processing" | "shipped" | "delivered" | "canceled";
    trackingNumber?: string;
};
type APIOrderUpdateResult = {
    id: string;
    status: string;
    trackingNumber: string | null;
};
type APILegalPagesBrowseResult = {
    data: Array<{
        id: string;
        path: string;
        title: string;
        content: string | null;
        createdAt: string;
        updatedAt: string;
    }>;
};
type APILegalPageGetByPathResult = {
    id: string;
    path: string;
    title: string;
    content: string | null;
    createdAt: string;
    updatedAt: string;
} | null;
type APICollectionCreateBody = {
    name: string;
    filter: {
        type: "manual";
    } | {
        type: "dynamicPrice";
        min?: number | null | undefined;
        max?: number | null | undefined;
    };
    active: boolean;
    slug?: string | undefined;
    description?: string | undefined;
    image?: string | undefined;
};
type APICollectionCreateResult = {
    data: {
        id: string;
        name: string;
        image: string | null;
        createdAt: string;
        slug: string;
        active: boolean;
        description: JSONContent | null;
        productCollections: {
            productId: string;
        }[];
        tr: {
            locale: string;
        }[];
    }[];
    meta: {
        count: number;
    };
};
type APIProductReviewsBrowseResult = {
    data: Array<{
        id: string;
        author: string;
        content: string;
        rating: number;
        createdAt: string;
    }>;
    meta: {
        count: number;
        offset: number;
        limit: number;
    };
    summary: {
        averageRating: number;
        reviewCount: number;
    };
};
type APIProductReviewsBrowseQueryParams = {
    offset?: number;
    limit?: number;
};
type APIProductReviewCreateBody = {
    author: string;
    email: string;
    content: string;
    rating: number;
};
type APIProductReviewCreateResult = {
    id: string;
    author: string;
    content: string;
    rating: number;
    createdAt: string;
};
type APISearchResult = {
    items: {
        type: "product";
        id: string;
        name: string;
        slug: string;
        summary: string | null;
        image: string | null;
        relevance: number;
    }[];
    pagination: {
        total: number;
        offset: number;
        limit: number;
        hasMore: boolean;
    };
};
type APISearchQueryParams = {
    query: string;
    limit?: number;
    offset?: number;
};
type APIInstaviewImagesBrowseResult = {
    handle: string;
    images: Array<{
        id: string;
        url: string;
        description: string | null;
        takenAt: string | null;
        code: string | null;
        mediaId: string;
    }>;
    nextCursor: string | null;
};
type APIInstaviewImagesBrowseParams = {
    handle: string;
};
type APIInstaviewImagesBrowseQueryParams = {
    limit?: number;
    cursor?: string;
};

export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
