import { z } from 'zod';
import { AnyCircuitElement } from 'circuit-json';

declare const EasyEdaJsonSchema: z.ZodObject<{
    uuid: z.ZodString;
    title: z.ZodString;
    description: z.ZodString;
    docType: z.ZodNumber;
    type: z.ZodNumber;
    szlcsc: z.ZodObject<{
        id: z.ZodNumber;
        number: z.ZodString;
        step: z.ZodOptional<z.ZodNumber>;
        min: z.ZodOptional<z.ZodNumber>;
        price: z.ZodOptional<z.ZodNumber>;
        stock: z.ZodOptional<z.ZodNumber>;
        url: z.ZodOptional<z.ZodString>;
        image: z.ZodOptional<z.ZodOptional<z.ZodString>>;
    }, "strip", z.ZodTypeAny, {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
        image?: string | undefined;
    }, {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
        image?: string | undefined;
    }>;
    lcsc: z.ZodObject<{
        id: z.ZodNumber;
        number: z.ZodString;
        step: z.ZodOptional<z.ZodNumber>;
        min: z.ZodOptional<z.ZodNumber>;
        price: z.ZodOptional<z.ZodNumber>;
        stock: z.ZodOptional<z.ZodNumber>;
        url: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
    }, {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
    }>;
    owner: z.ZodObject<{
        uuid: z.ZodString;
        username: z.ZodString;
        nickname: z.ZodString;
        avatar: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        uuid: string;
        username: string;
        nickname: string;
        avatar: string;
    }, {
        uuid: string;
        username: string;
        nickname: string;
        avatar: string;
    }>;
    tags: z.ZodArray<z.ZodString, "many">;
    updateTime: z.ZodNumber;
    updated_at: z.ZodString;
    dataStr: z.ZodObject<{
        head: z.ZodObject<{
            docType: z.ZodEffects<z.ZodString, string, unknown>;
            editorVersion: z.ZodString;
            c_para: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
            x: z.ZodNumber;
            y: z.ZodNumber;
            puuid: z.ZodOptional<z.ZodString>;
            uuid: z.ZodString;
            utime: z.ZodEffects<z.ZodNumber, number, unknown>;
            importFlag: z.ZodOptional<z.ZodNumber>;
            c_spiceCmd: z.ZodOptional<z.ZodAny>;
            hasIdFlag: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
            uuid: string;
            docType: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            utime: number;
            hasIdFlag: boolean;
            puuid?: string | undefined;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        }, {
            x: number;
            y: number;
            uuid: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            hasIdFlag: boolean;
            docType?: unknown;
            puuid?: string | undefined;
            utime?: unknown;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        }>;
        canvas: z.ZodString;
        shape: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, {
            type: "RECTANGLE";
            id: string;
            width: number;
            height: number;
            lineWidth: number;
            position: {
                x: number;
                y: number;
            };
            color: string;
        } | {
            type: "ELLIPSE";
            id: string;
            center: {
                x: number;
                y: number;
            };
            radiusX: number;
            radiusY: number;
            lineWidth: number;
            color: string;
        } | {
            type: "ARC";
            id: string;
            start: {
                x: number;
                y: number;
            };
            end: {
                x: number;
                y: number;
            };
            radius: number;
            lineWidth: number;
            sweepFlag: boolean;
            color: string;
        } | {
            path: string;
            type: "PIN";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "show" | "hide" | "none";
            pinNumber: string | number;
            label: string;
            labelColor: string;
            arrow: string;
        } | {
            type: "POLYLINE";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            color: string;
        } | {
            type: "POLYGON";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            fillColor: string;
            lineColor: string;
        } | {
            type: "PATH";
            id: string;
            pathData: string;
            fillColor: string;
            strokeWidth: number;
            strokeColor: string;
        } | {
            type: "TEXT";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "0" | "1";
            alignment: "L" | "C" | "R";
            fontColor: string;
            fontSize: string;
            fontWeight: string;
            fontStyle: "normal" | "italic";
            fontDecoration: string;
            content: string;
            textType: string;
            mirror: string;
            backgroundColor?: string | undefined;
        }, string>, z.ZodUnion<[z.ZodObject<{
            type: z.ZodLiteral<"RECTANGLE">;
            position: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            width: z.ZodNumber;
            height: z.ZodNumber;
            color: z.ZodString;
            lineWidth: z.ZodNumber;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "RECTANGLE";
            id: string;
            width: number;
            height: number;
            lineWidth: number;
            position: {
                x: number;
                y: number;
            };
            color: string;
        }, {
            type: "RECTANGLE";
            id: string;
            width: number;
            height: number;
            lineWidth: number;
            position: {
                x: number;
                y: number;
            };
            color: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"ELLIPSE">;
            center: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            radiusX: z.ZodNumber;
            radiusY: z.ZodNumber;
            color: z.ZodString;
            lineWidth: z.ZodNumber;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "ELLIPSE";
            id: string;
            center: {
                x: number;
                y: number;
            };
            radiusX: number;
            radiusY: number;
            lineWidth: number;
            color: string;
        }, {
            type: "ELLIPSE";
            id: string;
            center: {
                x: number;
                y: number;
            };
            radiusX: number;
            radiusY: number;
            lineWidth: number;
            color: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"PIN">;
            visibility: z.ZodEnum<["show", "hide", "none"]>;
            pinNumber: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
            x: z.ZodNumber;
            y: z.ZodNumber;
            rotation: z.ZodNumber;
            id: z.ZodString;
            label: z.ZodString;
            labelColor: z.ZodString;
            path: z.ZodString;
            arrow: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            path: string;
            type: "PIN";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "show" | "hide" | "none";
            pinNumber: string | number;
            label: string;
            labelColor: string;
            arrow: string;
        }, {
            path: string;
            type: "PIN";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "show" | "hide" | "none";
            pinNumber: string | number;
            label: string;
            labelColor: string;
            arrow: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"POLYLINE">;
            points: z.ZodArray<z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>, "many">;
            color: z.ZodString;
            lineWidth: z.ZodNumber;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "POLYLINE";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            color: string;
        }, {
            type: "POLYLINE";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            color: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"POLYGON">;
            points: z.ZodArray<z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>, "many">;
            fillColor: z.ZodString;
            lineWidth: z.ZodNumber;
            lineColor: z.ZodString;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "POLYGON";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            fillColor: string;
            lineColor: string;
        }, {
            type: "POLYGON";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            fillColor: string;
            lineColor: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"PATH">;
            pathData: z.ZodString;
            fillColor: z.ZodString;
            strokeWidth: z.ZodNumber;
            strokeColor: z.ZodString;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "PATH";
            id: string;
            pathData: string;
            fillColor: string;
            strokeWidth: number;
            strokeColor: string;
        }, {
            type: "PATH";
            id: string;
            pathData: string;
            fillColor: string;
            strokeWidth: number;
            strokeColor: string;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"TEXT">;
            alignment: z.ZodEnum<["L", "C", "R"]>;
            x: z.ZodNumber;
            y: z.ZodNumber;
            rotation: z.ZodNumber;
            fontColor: z.ZodString;
            backgroundColor: z.ZodOptional<z.ZodString>;
            fontSize: z.ZodString;
            fontWeight: z.ZodDefault<z.ZodOptional<z.ZodString>>;
            fontStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<["normal", "italic"]>>>;
            fontDecoration: z.ZodDefault<z.ZodOptional<z.ZodString>>;
            content: z.ZodString;
            textType: z.ZodString;
            visibility: z.ZodEnum<["0", "1"]>;
            mirror: z.ZodString;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "TEXT";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "0" | "1";
            alignment: "L" | "C" | "R";
            fontColor: string;
            fontSize: string;
            fontWeight: string;
            fontStyle: "normal" | "italic";
            fontDecoration: string;
            content: string;
            textType: string;
            mirror: string;
            backgroundColor?: string | undefined;
        }, {
            type: "TEXT";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "0" | "1";
            alignment: "L" | "C" | "R";
            fontColor: string;
            fontSize: string;
            content: string;
            textType: string;
            mirror: string;
            backgroundColor?: string | undefined;
            fontWeight?: string | undefined;
            fontStyle?: "normal" | "italic" | undefined;
            fontDecoration?: string | undefined;
        }>, z.ZodObject<{
            type: z.ZodLiteral<"ARC">;
            start: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            end: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
            }, {
                x: number;
                y: number;
            }>;
            radius: z.ZodNumber;
            sweepFlag: z.ZodBoolean;
            color: z.ZodString;
            lineWidth: z.ZodNumber;
            id: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            type: "ARC";
            id: string;
            start: {
                x: number;
                y: number;
            };
            end: {
                x: number;
                y: number;
            };
            radius: number;
            lineWidth: number;
            sweepFlag: boolean;
            color: string;
        }, {
            type: "ARC";
            id: string;
            start: {
                x: number;
                y: number;
            };
            end: {
                x: number;
                y: number;
            };
            radius: number;
            lineWidth: number;
            sweepFlag: boolean;
            color: string;
        }>]>>, "many">;
        BBox: z.ZodObject<{
            x: z.ZodNumber;
            y: z.ZodNumber;
            width: z.ZodNumber;
            height: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            x: number;
            y: number;
            width: number;
            height: number;
        }, {
            x: number;
            y: number;
            width: number;
            height: number;
        }>;
        colors: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>;
    }, "strip", z.ZodTypeAny, {
        shape: ({
            type: "RECTANGLE";
            id: string;
            width: number;
            height: number;
            lineWidth: number;
            position: {
                x: number;
                y: number;
            };
            color: string;
        } | {
            type: "ELLIPSE";
            id: string;
            center: {
                x: number;
                y: number;
            };
            radiusX: number;
            radiusY: number;
            lineWidth: number;
            color: string;
        } | {
            type: "ARC";
            id: string;
            start: {
                x: number;
                y: number;
            };
            end: {
                x: number;
                y: number;
            };
            radius: number;
            lineWidth: number;
            sweepFlag: boolean;
            color: string;
        } | {
            path: string;
            type: "PIN";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "show" | "hide" | "none";
            pinNumber: string | number;
            label: string;
            labelColor: string;
            arrow: string;
        } | {
            type: "POLYLINE";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            color: string;
        } | {
            type: "POLYGON";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            fillColor: string;
            lineColor: string;
        } | {
            type: "PATH";
            id: string;
            pathData: string;
            fillColor: string;
            strokeWidth: number;
            strokeColor: string;
        } | {
            type: "TEXT";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "0" | "1";
            alignment: "L" | "C" | "R";
            fontColor: string;
            fontSize: string;
            fontWeight: string;
            fontStyle: "normal" | "italic";
            fontDecoration: string;
            content: string;
            textType: string;
            mirror: string;
            backgroundColor?: string | undefined;
        })[];
        head: {
            x: number;
            y: number;
            uuid: string;
            docType: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            utime: number;
            hasIdFlag: boolean;
            puuid?: string | undefined;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        };
        canvas: string;
        BBox: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        colors: Record<string, string> | string[];
    }, {
        shape: string[];
        head: {
            x: number;
            y: number;
            uuid: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            hasIdFlag: boolean;
            docType?: unknown;
            puuid?: string | undefined;
            utime?: unknown;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        };
        canvas: string;
        BBox: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        colors: Record<string, string> | string[];
    }>;
    verify: z.ZodBoolean;
    SMT: z.ZodOptional<z.ZodBoolean>;
    datastrid: z.ZodString;
    jlcOnSale: z.ZodOptional<z.ZodNumber>;
    writable: z.ZodBoolean;
    isFavorite: z.ZodBoolean;
    packageDetail: z.ZodObject<{
        uuid: z.ZodString;
        title: z.ZodString;
        docType: z.ZodNumber;
        updateTime: z.ZodNumber;
        owner: z.ZodObject<{
            uuid: z.ZodString;
            username: z.ZodString;
            nickname: z.ZodString;
            avatar: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        }, {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        }>;
        datastrid: z.ZodString;
        writable: z.ZodBoolean;
        dataStr: z.ZodObject<{
            head: z.ZodObject<{
                docType: z.ZodEffects<z.ZodString, string, unknown>;
                editorVersion: z.ZodString;
                c_para: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
                x: z.ZodNumber;
                y: z.ZodNumber;
                puuid: z.ZodOptional<z.ZodString>;
                uuid: z.ZodString;
                utime: z.ZodEffects<z.ZodNumber, number, unknown>;
                importFlag: z.ZodOptional<z.ZodNumber>;
                c_spiceCmd: z.ZodOptional<z.ZodAny>;
                hasIdFlag: z.ZodBoolean;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
                uuid: string;
                docType: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                utime: number;
                hasIdFlag: boolean;
                puuid?: string | undefined;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            }, {
                x: number;
                y: number;
                uuid: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                hasIdFlag: boolean;
                docType?: unknown;
                puuid?: string | undefined;
                utime?: unknown;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            }>;
            canvas: z.ZodString;
            shape: z.ZodPipeline<z.ZodEffects<z.ZodArray<z.ZodString, "many">, ({
                type: "TRACK";
                width: number;
                points: {
                    x: number;
                    y: number;
                }[];
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                number: string | number;
                type: "PAD";
                width: string;
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x: string;
                    y: string;
                };
                height: string;
                layermask: number;
                holeRadius: string;
                rotation: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                points?: {
                    x: number;
                    y: number;
                }[] | undefined;
                net?: string | number | undefined;
            } | {
                type: "ARC";
                width: number;
                start: {
                    x: number;
                    y: number;
                };
                end: {
                    x: number;
                    y: number;
                };
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "CIRCLE";
                width: number;
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SOLIDREGION";
                points: {
                    x: number;
                    y: number;
                }[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "HOLE";
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "VIA";
                center: {
                    x: number;
                    y: number;
                };
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "RECT";
                x: string;
                y: string;
                width: string;
                height: string;
                fillStyle: string;
                lineWidth: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
            } | {
                type: "TEXT";
                x: string;
                y: string;
                text: string;
                size_mm: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "L" | "C" | "R" | undefined;
                font?: string | undefined;
            })[], string[]>, z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"TRACK">;
                width: z.ZodNumber;
                points: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>, "many">;
            }, "strip", z.ZodTypeAny, {
                type: "TRACK";
                width: number;
                points: {
                    x: number;
                    y: number;
                }[];
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "TRACK";
                width: number;
                points: any[];
                id?: string | undefined;
                layer?: number | undefined;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"PAD">;
                shape: z.ZodEnum<["RECT", "ELLIPSE", "OVAL", "POLYGON"]>;
                center: z.ZodObject<{
                    x: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                    y: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                }, "strip", z.ZodTypeAny, {
                    x: string;
                    y: string;
                }, {
                    x?: string | number | undefined;
                    y?: string | number | undefined;
                }>;
                width: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                height: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                layermask: z.ZodNumber;
                net: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
                number: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
                holeRadius: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                points: z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>, "many">>;
                rotation: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
                plated: z.ZodBoolean;
            }, "strip", z.ZodTypeAny, {
                number: string | number;
                type: "PAD";
                width: string;
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x: string;
                    y: string;
                };
                height: string;
                layermask: number;
                holeRadius: string;
                rotation: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                points?: {
                    x: number;
                    y: number;
                }[] | undefined;
                net?: string | number | undefined;
            }, {
                number: string | number;
                type: "PAD";
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x?: string | number | undefined;
                    y?: string | number | undefined;
                };
                layermask: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                width?: string | number | undefined;
                points?: any[] | undefined;
                height?: string | number | undefined;
                net?: string | number | undefined;
                holeRadius?: string | number | undefined;
                rotation?: string | number | undefined;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"ARC">;
                width: z.ZodNumber;
                start: z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>;
                end: z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>;
                radiusX: z.ZodNumber;
                radiusY: z.ZodNumber;
                largeArc: z.ZodBoolean;
                sweepDirection: z.ZodEnum<["CW", "CCW"]>;
            }, "strip", z.ZodTypeAny, {
                type: "ARC";
                width: number;
                start: {
                    x: number;
                    y: number;
                };
                end: {
                    x: number;
                    y: number;
                };
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "ARC";
                width: number;
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
                start?: any;
                end?: any;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"CIRCLE">;
                center: z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>;
                radius: z.ZodNumber;
                width: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                type: "CIRCLE";
                width: number;
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "CIRCLE";
                width: number;
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
                center?: any;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"SOLIDREGION">;
                layermask: z.ZodNumber;
                points: z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>, "many">;
                fillStyle: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                type: "SOLIDREGION";
                points: {
                    x: number;
                    y: number;
                }[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "SOLIDREGION";
                points: any[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"SVGNODE">;
                svgData: z.ZodObject<{
                    gId: z.ZodString;
                    nodeName: z.ZodString;
                    nodeType: z.ZodNumber;
                    layerid: z.ZodString;
                    attrs: z.ZodRecord<z.ZodString, z.ZodString>;
                    childNodes: z.ZodArray<z.ZodUnknown, "many">;
                }, "strip", z.ZodTypeAny, {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                }, {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                }>;
            }, "strip", z.ZodTypeAny, {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"HOLE">;
                center: z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>;
                radius: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                type: "HOLE";
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "HOLE";
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
                center?: any;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"VIA">;
                center: z.ZodPipeline<z.ZodEffects<z.ZodAny, any, any>, z.ZodObject<{
                    x: z.ZodNumber;
                    y: z.ZodNumber;
                }, "strip", z.ZodTypeAny, {
                    x: number;
                    y: number;
                }, {
                    x: number;
                    y: number;
                }>>;
                outerDiameter: z.ZodNumber;
                holeDiameter: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                type: "VIA";
                center: {
                    x: number;
                    y: number;
                };
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
            }, {
                type: "VIA";
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
                center?: any;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
                layer: z.ZodOptional<z.ZodNumber>;
            } & {
                type: z.ZodLiteral<"RECT">;
                x: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                y: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                width: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                height: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                lineWidth: z.ZodNumber;
                fillStyle: z.ZodString;
                rotation: z.ZodOptional<z.ZodNumber>;
            }, "strip", z.ZodTypeAny, {
                type: "RECT";
                x: string;
                y: string;
                width: string;
                height: string;
                fillStyle: string;
                lineWidth: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
            }, {
                type: "RECT";
                fillStyle: string;
                lineWidth: number;
                x?: string | number | undefined;
                y?: string | number | undefined;
                id?: string | undefined;
                layer?: number | undefined;
                width?: string | number | undefined;
                height?: string | number | undefined;
                rotation?: number | undefined;
            }>, z.ZodObject<{
                id: z.ZodOptional<z.ZodString>;
            } & {
                type: z.ZodLiteral<"TEXT">;
                text: z.ZodString;
                x: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                y: z.ZodPipeline<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>, string, string | number | undefined>, z.ZodString>;
                size_mm: z.ZodNumber;
                rotation: z.ZodOptional<z.ZodNumber>;
                layer: z.ZodOptional<z.ZodNumber>;
                textAnchor: z.ZodEffects<z.ZodOptional<z.ZodEnum<["L", "C", "R", ""]>>, "L" | "C" | "R" | undefined, "" | "L" | "C" | "R" | undefined>;
                font: z.ZodOptional<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                type: "TEXT";
                x: string;
                y: string;
                text: string;
                size_mm: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "L" | "C" | "R" | undefined;
                font?: string | undefined;
            }, {
                type: "TEXT";
                text: string;
                size_mm: number;
                x?: string | number | undefined;
                y?: string | number | undefined;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "" | "L" | "C" | "R" | undefined;
                font?: string | undefined;
            }>]>, "many">>;
            layers: z.ZodEffects<z.ZodArray<z.ZodString, "many">, {
                color: string;
                name: string;
                visible: boolean;
                active: boolean;
                config: boolean;
                transparency: boolean;
            }[], string[]>;
            objects: z.ZodEffects<z.ZodArray<z.ZodString, "many">, {
                name: string;
                visible: boolean;
                locked: boolean;
            }[], string[]>;
            BBox: z.ZodObject<{
                x: z.ZodNumber;
                y: z.ZodNumber;
                width: z.ZodNumber;
                height: z.ZodNumber;
            }, "strip", z.ZodTypeAny, {
                x: number;
                y: number;
                width: number;
                height: number;
            }, {
                x: number;
                y: number;
                width: number;
                height: number;
            }>;
            netColors: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
        }, "strip", z.ZodTypeAny, {
            shape: ({
                type: "TRACK";
                width: number;
                points: {
                    x: number;
                    y: number;
                }[];
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                number: string | number;
                type: "PAD";
                width: string;
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x: string;
                    y: string;
                };
                height: string;
                layermask: number;
                holeRadius: string;
                rotation: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                points?: {
                    x: number;
                    y: number;
                }[] | undefined;
                net?: string | number | undefined;
            } | {
                type: "ARC";
                width: number;
                start: {
                    x: number;
                    y: number;
                };
                end: {
                    x: number;
                    y: number;
                };
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "CIRCLE";
                width: number;
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SOLIDREGION";
                points: {
                    x: number;
                    y: number;
                }[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "HOLE";
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "VIA";
                center: {
                    x: number;
                    y: number;
                };
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "RECT";
                x: string;
                y: string;
                width: string;
                height: string;
                fillStyle: string;
                lineWidth: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
            } | {
                type: "TEXT";
                x: string;
                y: string;
                text: string;
                size_mm: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "L" | "C" | "R" | undefined;
                font?: string | undefined;
            })[];
            head: {
                x: number;
                y: number;
                uuid: string;
                docType: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                utime: number;
                hasIdFlag: boolean;
                puuid?: string | undefined;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: {
                color: string;
                name: string;
                visible: boolean;
                active: boolean;
                config: boolean;
                transparency: boolean;
            }[];
            objects: {
                name: string;
                visible: boolean;
                locked: boolean;
            }[];
            netColors?: unknown[] | undefined;
        }, {
            shape: string[];
            head: {
                x: number;
                y: number;
                uuid: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                hasIdFlag: boolean;
                docType?: unknown;
                puuid?: string | undefined;
                utime?: unknown;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: string[];
            objects: string[];
            netColors?: unknown[] | undefined;
        }>;
    }, "strip", z.ZodTypeAny, {
        uuid: string;
        docType: number;
        title: string;
        updateTime: number;
        owner: {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        };
        datastrid: string;
        writable: boolean;
        dataStr: {
            shape: ({
                type: "TRACK";
                width: number;
                points: {
                    x: number;
                    y: number;
                }[];
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                number: string | number;
                type: "PAD";
                width: string;
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x: string;
                    y: string;
                };
                height: string;
                layermask: number;
                holeRadius: string;
                rotation: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                points?: {
                    x: number;
                    y: number;
                }[] | undefined;
                net?: string | number | undefined;
            } | {
                type: "ARC";
                width: number;
                start: {
                    x: number;
                    y: number;
                };
                end: {
                    x: number;
                    y: number;
                };
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "CIRCLE";
                width: number;
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SOLIDREGION";
                points: {
                    x: number;
                    y: number;
                }[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "HOLE";
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "VIA";
                center: {
                    x: number;
                    y: number;
                };
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "RECT";
                x: string;
                y: string;
                width: string;
                height: string;
                fillStyle: string;
                lineWidth: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
            } | {
                type: "TEXT";
                x: string;
                y: string;
                text: string;
                size_mm: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "L" | "C" | "R" | undefined;
                font?: string | undefined;
            })[];
            head: {
                x: number;
                y: number;
                uuid: string;
                docType: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                utime: number;
                hasIdFlag: boolean;
                puuid?: string | undefined;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: {
                color: string;
                name: string;
                visible: boolean;
                active: boolean;
                config: boolean;
                transparency: boolean;
            }[];
            objects: {
                name: string;
                visible: boolean;
                locked: boolean;
            }[];
            netColors?: unknown[] | undefined;
        };
    }, {
        uuid: string;
        docType: number;
        title: string;
        updateTime: number;
        owner: {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        };
        datastrid: string;
        writable: boolean;
        dataStr: {
            shape: string[];
            head: {
                x: number;
                y: number;
                uuid: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                hasIdFlag: boolean;
                docType?: unknown;
                puuid?: string | undefined;
                utime?: unknown;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: string[];
            objects: string[];
            netColors?: unknown[] | undefined;
        };
    }>;
}, "strip", z.ZodTypeAny, {
    type: number;
    uuid: string;
    docType: number;
    title: string;
    updateTime: number;
    owner: {
        uuid: string;
        username: string;
        nickname: string;
        avatar: string;
    };
    datastrid: string;
    writable: boolean;
    dataStr: {
        shape: ({
            type: "RECTANGLE";
            id: string;
            width: number;
            height: number;
            lineWidth: number;
            position: {
                x: number;
                y: number;
            };
            color: string;
        } | {
            type: "ELLIPSE";
            id: string;
            center: {
                x: number;
                y: number;
            };
            radiusX: number;
            radiusY: number;
            lineWidth: number;
            color: string;
        } | {
            type: "ARC";
            id: string;
            start: {
                x: number;
                y: number;
            };
            end: {
                x: number;
                y: number;
            };
            radius: number;
            lineWidth: number;
            sweepFlag: boolean;
            color: string;
        } | {
            path: string;
            type: "PIN";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "show" | "hide" | "none";
            pinNumber: string | number;
            label: string;
            labelColor: string;
            arrow: string;
        } | {
            type: "POLYLINE";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            color: string;
        } | {
            type: "POLYGON";
            id: string;
            points: {
                x: number;
                y: number;
            }[];
            lineWidth: number;
            fillColor: string;
            lineColor: string;
        } | {
            type: "PATH";
            id: string;
            pathData: string;
            fillColor: string;
            strokeWidth: number;
            strokeColor: string;
        } | {
            type: "TEXT";
            x: number;
            y: number;
            id: string;
            rotation: number;
            visibility: "0" | "1";
            alignment: "L" | "C" | "R";
            fontColor: string;
            fontSize: string;
            fontWeight: string;
            fontStyle: "normal" | "italic";
            fontDecoration: string;
            content: string;
            textType: string;
            mirror: string;
            backgroundColor?: string | undefined;
        })[];
        head: {
            x: number;
            y: number;
            uuid: string;
            docType: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            utime: number;
            hasIdFlag: boolean;
            puuid?: string | undefined;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        };
        canvas: string;
        BBox: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        colors: Record<string, string> | string[];
    };
    description: string;
    szlcsc: {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
        image?: string | undefined;
    };
    lcsc: {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
    };
    tags: string[];
    updated_at: string;
    verify: boolean;
    isFavorite: boolean;
    packageDetail: {
        uuid: string;
        docType: number;
        title: string;
        updateTime: number;
        owner: {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        };
        datastrid: string;
        writable: boolean;
        dataStr: {
            shape: ({
                type: "TRACK";
                width: number;
                points: {
                    x: number;
                    y: number;
                }[];
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                number: string | number;
                type: "PAD";
                width: string;
                shape: "RECT" | "ELLIPSE" | "OVAL" | "POLYGON";
                center: {
                    x: string;
                    y: string;
                };
                height: string;
                layermask: number;
                holeRadius: string;
                rotation: number;
                plated: boolean;
                id?: string | undefined;
                layer?: number | undefined;
                points?: {
                    x: number;
                    y: number;
                }[] | undefined;
                net?: string | number | undefined;
            } | {
                type: "ARC";
                width: number;
                start: {
                    x: number;
                    y: number;
                };
                end: {
                    x: number;
                    y: number;
                };
                radiusX: number;
                radiusY: number;
                largeArc: boolean;
                sweepDirection: "CW" | "CCW";
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "CIRCLE";
                width: number;
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SOLIDREGION";
                points: {
                    x: number;
                    y: number;
                }[];
                layermask: number;
                fillStyle: string;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "SVGNODE";
                svgData: {
                    gId: string;
                    nodeName: string;
                    nodeType: number;
                    layerid: string;
                    attrs: Record<string, string>;
                    childNodes: unknown[];
                };
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "HOLE";
                center: {
                    x: number;
                    y: number;
                };
                radius: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "VIA";
                center: {
                    x: number;
                    y: number;
                };
                outerDiameter: number;
                holeDiameter: number;
                id?: string | undefined;
                layer?: number | undefined;
            } | {
                type: "RECT";
                x: string;
                y: string;
                width: string;
                height: string;
                fillStyle: string;
                lineWidth: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
            } | {
                type: "TEXT";
                x: string;
                y: string;
                text: string;
                size_mm: number;
                id?: string | undefined;
                layer?: number | undefined;
                rotation?: number | undefined;
                textAnchor?: "L" | "C" | "R" | undefined;
                font?: string | undefined;
            })[];
            head: {
                x: number;
                y: number;
                uuid: string;
                docType: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                utime: number;
                hasIdFlag: boolean;
                puuid?: string | undefined;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: {
                color: string;
                name: string;
                visible: boolean;
                active: boolean;
                config: boolean;
                transparency: boolean;
            }[];
            objects: {
                name: string;
                visible: boolean;
                locked: boolean;
            }[];
            netColors?: unknown[] | undefined;
        };
    };
    SMT?: boolean | undefined;
    jlcOnSale?: number | undefined;
}, {
    type: number;
    uuid: string;
    docType: number;
    title: string;
    updateTime: number;
    owner: {
        uuid: string;
        username: string;
        nickname: string;
        avatar: string;
    };
    datastrid: string;
    writable: boolean;
    dataStr: {
        shape: string[];
        head: {
            x: number;
            y: number;
            uuid: string;
            editorVersion: string;
            c_para: Record<string, string | null>;
            hasIdFlag: boolean;
            docType?: unknown;
            puuid?: string | undefined;
            utime?: unknown;
            importFlag?: number | undefined;
            c_spiceCmd?: any;
        };
        canvas: string;
        BBox: {
            x: number;
            y: number;
            width: number;
            height: number;
        };
        colors: Record<string, string> | string[];
    };
    description: string;
    szlcsc: {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
        image?: string | undefined;
    };
    lcsc: {
        number: string;
        id: number;
        url?: string | undefined;
        min?: number | undefined;
        step?: number | undefined;
        price?: number | undefined;
        stock?: number | undefined;
    };
    tags: string[];
    updated_at: string;
    verify: boolean;
    isFavorite: boolean;
    packageDetail: {
        uuid: string;
        docType: number;
        title: string;
        updateTime: number;
        owner: {
            uuid: string;
            username: string;
            nickname: string;
            avatar: string;
        };
        datastrid: string;
        writable: boolean;
        dataStr: {
            shape: string[];
            head: {
                x: number;
                y: number;
                uuid: string;
                editorVersion: string;
                c_para: Record<string, string | null>;
                hasIdFlag: boolean;
                docType?: unknown;
                puuid?: string | undefined;
                utime?: unknown;
                importFlag?: number | undefined;
                c_spiceCmd?: any;
            };
            canvas: string;
            BBox: {
                x: number;
                y: number;
                width: number;
                height: number;
            };
            layers: string[];
            objects: string[];
            netColors?: unknown[] | undefined;
        };
    };
    SMT?: boolean | undefined;
    jlcOnSale?: number | undefined;
}>;
type RawEasyEdaJson = z.input<typeof EasyEdaJsonSchema>;
type BetterEasyEdaJson = z.infer<typeof EasyEdaJsonSchema>;

declare const convertRawEasyToTsx: (rawEasy: any) => Promise<string>;
declare const convertBetterEasyToTsx: ({ betterEasy, }: {
    betterEasy: BetterEasyEdaJson;
}) => Promise<string>;

declare function fetchEasyEDAComponent(jlcpcbPartNumber: string, { fetch }?: {
    fetch?: typeof globalThis.fetch;
}): Promise<RawEasyEdaJson>;

declare const generateFootprintTsx: (circuitJson: AnyCircuitElement[]) => string;

type Params = {
    easyedaPartNumber: string;
    easyedaModelUuid: string;
};
declare const getModelCdnUrl: ({ easyedaModelUuid, easyedaPartNumber, }: Params) => string;

export { convertBetterEasyToTsx, convertRawEasyToTsx, fetchEasyEDAComponent, generateFootprintTsx, getModelCdnUrl };
