@squiz/dx-page-contents-lib 1.70.2 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2349,10 +2349,694 @@ export declare const PageLayout: z.ZodDiscriminatedUnion<"name", [z.ZodObject<{
2349
2349
  })[];
2350
2350
  };
2351
2351
  name: "two-column";
2352
+ }>, z.ZodObject<{
2353
+ name: z.ZodLiteral<"custom-layout">;
2354
+ config: z.ZodEffects<z.ZodObject<{
2355
+ rootWrapper: z.ZodObject<{
2356
+ tag: z.ZodString;
2357
+ classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2358
+ }, "strip", z.ZodTypeAny, {
2359
+ tag: string;
2360
+ classes?: string[] | undefined;
2361
+ }, {
2362
+ tag: string;
2363
+ classes?: string[] | undefined;
2364
+ }>;
2365
+ nodeWrapper: z.ZodOptional<z.ZodObject<{
2366
+ tag: z.ZodString;
2367
+ classes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2368
+ }, "strip", z.ZodTypeAny, {
2369
+ tag: string;
2370
+ classes?: string[] | undefined;
2371
+ }, {
2372
+ tag: string;
2373
+ classes?: string[] | undefined;
2374
+ }>>;
2375
+ minNodes: z.ZodDefault<z.ZodNumber>;
2376
+ maxNodes: z.ZodOptional<z.ZodNumber>;
2377
+ }, "strip", z.ZodTypeAny, {
2378
+ rootWrapper: {
2379
+ tag: string;
2380
+ classes?: string[] | undefined;
2381
+ };
2382
+ minNodes: number;
2383
+ nodeWrapper?: {
2384
+ tag: string;
2385
+ classes?: string[] | undefined;
2386
+ } | undefined;
2387
+ maxNodes?: number | undefined;
2388
+ }, {
2389
+ rootWrapper: {
2390
+ tag: string;
2391
+ classes?: string[] | undefined;
2392
+ };
2393
+ nodeWrapper?: {
2394
+ tag: string;
2395
+ classes?: string[] | undefined;
2396
+ } | undefined;
2397
+ minNodes?: number | undefined;
2398
+ maxNodes?: number | undefined;
2399
+ }>, {
2400
+ rootWrapper: {
2401
+ tag: string;
2402
+ classes?: string[] | undefined;
2403
+ };
2404
+ minNodes: number;
2405
+ nodeWrapper?: {
2406
+ tag: string;
2407
+ classes?: string[] | undefined;
2408
+ } | undefined;
2409
+ maxNodes?: number | undefined;
2410
+ }, {
2411
+ rootWrapper: {
2412
+ tag: string;
2413
+ classes?: string[] | undefined;
2414
+ };
2415
+ nodeWrapper?: {
2416
+ tag: string;
2417
+ classes?: string[] | undefined;
2418
+ } | undefined;
2419
+ minNodes?: number | undefined;
2420
+ maxNodes?: number | undefined;
2421
+ }>;
2422
+ content: z.ZodObject<{
2423
+ main: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodType<{
2424
+ value: string;
2425
+ type: "text";
2426
+ } | {
2427
+ type: "matrix-image";
2428
+ matrixDomain: string;
2429
+ matrixAssetId: string;
2430
+ attributes?: (Record<string, string> & {
2431
+ src?: undefined;
2432
+ }) | undefined;
2433
+ formattingOptions?: {
2434
+ alignment: "left" | "center" | "right" | "justify";
2435
+ } | undefined;
2436
+ matrixIdentifier?: string | undefined;
2437
+ } | {
2438
+ type: "dam-image";
2439
+ damSystemType: "bynder";
2440
+ damSystemIdentifier: string;
2441
+ damObjectId: string;
2442
+ attributes?: (Record<string, string> & {
2443
+ src?: undefined;
2444
+ }) | undefined;
2445
+ formattingOptions?: {
2446
+ alignment: "left" | "center" | "right" | "justify";
2447
+ } | undefined;
2448
+ damAdditional?: {
2449
+ variant?: string | undefined;
2450
+ } | undefined;
2451
+ } | {
2452
+ type: "component";
2453
+ componentId: string;
2454
+ componentSet: string;
2455
+ componentType?: "server" | "edge" | undefined;
2456
+ contentItem?: {
2457
+ id: string;
2458
+ } | {
2459
+ content: Record<string, unknown>;
2460
+ schemaName: string;
2461
+ } | undefined;
2462
+ } | (({
2463
+ type: "tag";
2464
+ tag: string;
2465
+ attributes?: Record<string, string> | undefined;
2466
+ font?: {
2467
+ bold?: boolean | undefined;
2468
+ italics?: boolean | undefined;
2469
+ underline?: boolean | undefined;
2470
+ color?: string | undefined;
2471
+ size?: string | undefined;
2472
+ fontFamily?: string | undefined;
2473
+ } | undefined;
2474
+ formattingOptions?: {
2475
+ alignment: "left" | "center" | "right" | "justify";
2476
+ } | undefined;
2477
+ } | {
2478
+ type: "fragment";
2479
+ } | {
2480
+ type: "link-to-matrix-asset";
2481
+ matrixDomain: string;
2482
+ matrixAssetId: string;
2483
+ target: "_blank" | "_self" | "_parent" | "_top";
2484
+ attributes?: (Record<string, string> & {
2485
+ target?: undefined;
2486
+ href?: undefined;
2487
+ }) | undefined;
2488
+ formattingOptions?: {
2489
+ alignment: "left" | "center" | "right" | "justify";
2490
+ } | undefined;
2491
+ matrixIdentifier?: string | undefined;
2492
+ }) & {
2493
+ children: import("../layout-content").LayoutContentNodes[];
2494
+ }), z.ZodTypeDef, {
2495
+ value: string;
2496
+ type: "text";
2497
+ } | {
2498
+ type: "tag";
2499
+ tag: string;
2500
+ attributes?: Record<string, string> | undefined;
2501
+ font?: {
2502
+ bold?: boolean | undefined;
2503
+ italics?: boolean | undefined;
2504
+ underline?: boolean | undefined;
2505
+ color?: string | undefined;
2506
+ size?: string | undefined;
2507
+ fontFamily?: string | undefined;
2508
+ } | undefined;
2509
+ formattingOptions?: {
2510
+ alignment: "left" | "center" | "right" | "justify";
2511
+ } | undefined;
2512
+ } | {
2513
+ type: "fragment";
2514
+ } | {
2515
+ type: "link-to-matrix-asset";
2516
+ matrixDomain: string;
2517
+ matrixAssetId: string;
2518
+ target: "_blank" | "_self" | "_parent" | "_top";
2519
+ attributes?: (Record<string, string> & {
2520
+ target?: undefined;
2521
+ href?: undefined;
2522
+ }) | undefined;
2523
+ formattingOptions?: {
2524
+ alignment: "left" | "center" | "right" | "justify";
2525
+ } | undefined;
2526
+ matrixIdentifier?: string | undefined;
2527
+ } | {
2528
+ type: "matrix-image";
2529
+ matrixDomain: string;
2530
+ matrixAssetId: string;
2531
+ attributes?: (Record<string, string> & {
2532
+ src?: undefined;
2533
+ }) | undefined;
2534
+ formattingOptions?: {
2535
+ alignment: "left" | "center" | "right" | "justify";
2536
+ } | undefined;
2537
+ matrixIdentifier?: string | undefined;
2538
+ } | {
2539
+ type: "dam-image";
2540
+ damSystemType: "bynder";
2541
+ damSystemIdentifier: string;
2542
+ damObjectId: string;
2543
+ attributes?: (Record<string, string> & {
2544
+ src?: undefined;
2545
+ }) | undefined;
2546
+ formattingOptions?: {
2547
+ alignment: "left" | "center" | "right" | "justify";
2548
+ } | undefined;
2549
+ damAdditional?: {
2550
+ variant?: string | undefined;
2551
+ } | undefined;
2552
+ } | {
2553
+ type: "component";
2554
+ componentId: string;
2555
+ componentSet: string;
2556
+ componentType?: "server" | "edge" | undefined;
2557
+ contentItem?: {
2558
+ id: string;
2559
+ } | {
2560
+ content: Record<string, unknown>;
2561
+ schemaName: string;
2562
+ } | undefined;
2563
+ }>, z.ZodType<import("../layout-content").LayoutVariationNode, z.ZodTypeDef, {
2564
+ type: "variation";
2565
+ default: {};
2566
+ }>]>, "many">, (import("../layout-content").LayoutVariationNode | ({
2567
+ value: string;
2568
+ type: "text";
2569
+ } | {
2570
+ type: "matrix-image";
2571
+ matrixDomain: string;
2572
+ matrixAssetId: string;
2573
+ attributes?: (Record<string, string> & {
2574
+ src?: undefined;
2575
+ }) | undefined;
2576
+ formattingOptions?: {
2577
+ alignment: "left" | "center" | "right" | "justify";
2578
+ } | undefined;
2579
+ matrixIdentifier?: string | undefined;
2580
+ } | {
2581
+ type: "dam-image";
2582
+ damSystemType: "bynder";
2583
+ damSystemIdentifier: string;
2584
+ damObjectId: string;
2585
+ attributes?: (Record<string, string> & {
2586
+ src?: undefined;
2587
+ }) | undefined;
2588
+ formattingOptions?: {
2589
+ alignment: "left" | "center" | "right" | "justify";
2590
+ } | undefined;
2591
+ damAdditional?: {
2592
+ variant?: string | undefined;
2593
+ } | undefined;
2594
+ } | {
2595
+ type: "component";
2596
+ componentId: string;
2597
+ componentSet: string;
2598
+ componentType?: "server" | "edge" | undefined;
2599
+ contentItem?: {
2600
+ id: string;
2601
+ } | {
2602
+ content: Record<string, unknown>;
2603
+ schemaName: string;
2604
+ } | undefined;
2605
+ } | (({
2606
+ type: "tag";
2607
+ tag: string;
2608
+ attributes?: Record<string, string> | undefined;
2609
+ font?: {
2610
+ bold?: boolean | undefined;
2611
+ italics?: boolean | undefined;
2612
+ underline?: boolean | undefined;
2613
+ color?: string | undefined;
2614
+ size?: string | undefined;
2615
+ fontFamily?: string | undefined;
2616
+ } | undefined;
2617
+ formattingOptions?: {
2618
+ alignment: "left" | "center" | "right" | "justify";
2619
+ } | undefined;
2620
+ } | {
2621
+ type: "fragment";
2622
+ } | {
2623
+ type: "link-to-matrix-asset";
2624
+ matrixDomain: string;
2625
+ matrixAssetId: string;
2626
+ target: "_blank" | "_self" | "_parent" | "_top";
2627
+ attributes?: (Record<string, string> & {
2628
+ target?: undefined;
2629
+ href?: undefined;
2630
+ }) | undefined;
2631
+ formattingOptions?: {
2632
+ alignment: "left" | "center" | "right" | "justify";
2633
+ } | undefined;
2634
+ matrixIdentifier?: string | undefined;
2635
+ }) & {
2636
+ children: import("../layout-content").LayoutContentNodes[];
2637
+ })))[], ({
2638
+ value: string;
2639
+ type: "text";
2640
+ } | {
2641
+ type: "tag";
2642
+ tag: string;
2643
+ attributes?: Record<string, string> | undefined;
2644
+ font?: {
2645
+ bold?: boolean | undefined;
2646
+ italics?: boolean | undefined;
2647
+ underline?: boolean | undefined;
2648
+ color?: string | undefined;
2649
+ size?: string | undefined;
2650
+ fontFamily?: string | undefined;
2651
+ } | undefined;
2652
+ formattingOptions?: {
2653
+ alignment: "left" | "center" | "right" | "justify";
2654
+ } | undefined;
2655
+ } | {
2656
+ type: "fragment";
2657
+ } | {
2658
+ type: "link-to-matrix-asset";
2659
+ matrixDomain: string;
2660
+ matrixAssetId: string;
2661
+ target: "_blank" | "_self" | "_parent" | "_top";
2662
+ attributes?: (Record<string, string> & {
2663
+ target?: undefined;
2664
+ href?: undefined;
2665
+ }) | undefined;
2666
+ formattingOptions?: {
2667
+ alignment: "left" | "center" | "right" | "justify";
2668
+ } | undefined;
2669
+ matrixIdentifier?: string | undefined;
2670
+ } | {
2671
+ type: "matrix-image";
2672
+ matrixDomain: string;
2673
+ matrixAssetId: string;
2674
+ attributes?: (Record<string, string> & {
2675
+ src?: undefined;
2676
+ }) | undefined;
2677
+ formattingOptions?: {
2678
+ alignment: "left" | "center" | "right" | "justify";
2679
+ } | undefined;
2680
+ matrixIdentifier?: string | undefined;
2681
+ } | {
2682
+ type: "dam-image";
2683
+ damSystemType: "bynder";
2684
+ damSystemIdentifier: string;
2685
+ damObjectId: string;
2686
+ attributes?: (Record<string, string> & {
2687
+ src?: undefined;
2688
+ }) | undefined;
2689
+ formattingOptions?: {
2690
+ alignment: "left" | "center" | "right" | "justify";
2691
+ } | undefined;
2692
+ damAdditional?: {
2693
+ variant?: string | undefined;
2694
+ } | undefined;
2695
+ } | {
2696
+ type: "component";
2697
+ componentId: string;
2698
+ componentSet: string;
2699
+ componentType?: "server" | "edge" | undefined;
2700
+ contentItem?: {
2701
+ id: string;
2702
+ } | {
2703
+ content: Record<string, unknown>;
2704
+ schemaName: string;
2705
+ } | undefined;
2706
+ } | {
2707
+ type: "variation";
2708
+ default: {};
2709
+ })[]>;
2710
+ }, "strip", z.ZodTypeAny, {
2711
+ main: (import("../layout-content").LayoutVariationNode | ({
2712
+ value: string;
2713
+ type: "text";
2714
+ } | {
2715
+ type: "matrix-image";
2716
+ matrixDomain: string;
2717
+ matrixAssetId: string;
2718
+ attributes?: (Record<string, string> & {
2719
+ src?: undefined;
2720
+ }) | undefined;
2721
+ formattingOptions?: {
2722
+ alignment: "left" | "center" | "right" | "justify";
2723
+ } | undefined;
2724
+ matrixIdentifier?: string | undefined;
2725
+ } | {
2726
+ type: "dam-image";
2727
+ damSystemType: "bynder";
2728
+ damSystemIdentifier: string;
2729
+ damObjectId: string;
2730
+ attributes?: (Record<string, string> & {
2731
+ src?: undefined;
2732
+ }) | undefined;
2733
+ formattingOptions?: {
2734
+ alignment: "left" | "center" | "right" | "justify";
2735
+ } | undefined;
2736
+ damAdditional?: {
2737
+ variant?: string | undefined;
2738
+ } | undefined;
2739
+ } | {
2740
+ type: "component";
2741
+ componentId: string;
2742
+ componentSet: string;
2743
+ componentType?: "server" | "edge" | undefined;
2744
+ contentItem?: {
2745
+ id: string;
2746
+ } | {
2747
+ content: Record<string, unknown>;
2748
+ schemaName: string;
2749
+ } | undefined;
2750
+ } | (({
2751
+ type: "tag";
2752
+ tag: string;
2753
+ attributes?: Record<string, string> | undefined;
2754
+ font?: {
2755
+ bold?: boolean | undefined;
2756
+ italics?: boolean | undefined;
2757
+ underline?: boolean | undefined;
2758
+ color?: string | undefined;
2759
+ size?: string | undefined;
2760
+ fontFamily?: string | undefined;
2761
+ } | undefined;
2762
+ formattingOptions?: {
2763
+ alignment: "left" | "center" | "right" | "justify";
2764
+ } | undefined;
2765
+ } | {
2766
+ type: "fragment";
2767
+ } | {
2768
+ type: "link-to-matrix-asset";
2769
+ matrixDomain: string;
2770
+ matrixAssetId: string;
2771
+ target: "_blank" | "_self" | "_parent" | "_top";
2772
+ attributes?: (Record<string, string> & {
2773
+ target?: undefined;
2774
+ href?: undefined;
2775
+ }) | undefined;
2776
+ formattingOptions?: {
2777
+ alignment: "left" | "center" | "right" | "justify";
2778
+ } | undefined;
2779
+ matrixIdentifier?: string | undefined;
2780
+ }) & {
2781
+ children: import("../layout-content").LayoutContentNodes[];
2782
+ })))[];
2783
+ }, {
2784
+ main: ({
2785
+ value: string;
2786
+ type: "text";
2787
+ } | {
2788
+ type: "tag";
2789
+ tag: string;
2790
+ attributes?: Record<string, string> | undefined;
2791
+ font?: {
2792
+ bold?: boolean | undefined;
2793
+ italics?: boolean | undefined;
2794
+ underline?: boolean | undefined;
2795
+ color?: string | undefined;
2796
+ size?: string | undefined;
2797
+ fontFamily?: string | undefined;
2798
+ } | undefined;
2799
+ formattingOptions?: {
2800
+ alignment: "left" | "center" | "right" | "justify";
2801
+ } | undefined;
2802
+ } | {
2803
+ type: "fragment";
2804
+ } | {
2805
+ type: "link-to-matrix-asset";
2806
+ matrixDomain: string;
2807
+ matrixAssetId: string;
2808
+ target: "_blank" | "_self" | "_parent" | "_top";
2809
+ attributes?: (Record<string, string> & {
2810
+ target?: undefined;
2811
+ href?: undefined;
2812
+ }) | undefined;
2813
+ formattingOptions?: {
2814
+ alignment: "left" | "center" | "right" | "justify";
2815
+ } | undefined;
2816
+ matrixIdentifier?: string | undefined;
2817
+ } | {
2818
+ type: "matrix-image";
2819
+ matrixDomain: string;
2820
+ matrixAssetId: string;
2821
+ attributes?: (Record<string, string> & {
2822
+ src?: undefined;
2823
+ }) | undefined;
2824
+ formattingOptions?: {
2825
+ alignment: "left" | "center" | "right" | "justify";
2826
+ } | undefined;
2827
+ matrixIdentifier?: string | undefined;
2828
+ } | {
2829
+ type: "dam-image";
2830
+ damSystemType: "bynder";
2831
+ damSystemIdentifier: string;
2832
+ damObjectId: string;
2833
+ attributes?: (Record<string, string> & {
2834
+ src?: undefined;
2835
+ }) | undefined;
2836
+ formattingOptions?: {
2837
+ alignment: "left" | "center" | "right" | "justify";
2838
+ } | undefined;
2839
+ damAdditional?: {
2840
+ variant?: string | undefined;
2841
+ } | undefined;
2842
+ } | {
2843
+ type: "component";
2844
+ componentId: string;
2845
+ componentSet: string;
2846
+ componentType?: "server" | "edge" | undefined;
2847
+ contentItem?: {
2848
+ id: string;
2849
+ } | {
2850
+ content: Record<string, unknown>;
2851
+ schemaName: string;
2852
+ } | undefined;
2853
+ } | {
2854
+ type: "variation";
2855
+ default: {};
2856
+ })[];
2857
+ }>;
2858
+ }, "strip", z.ZodTypeAny, {
2859
+ content: {
2860
+ main: (import("../layout-content").LayoutVariationNode | ({
2861
+ value: string;
2862
+ type: "text";
2863
+ } | {
2864
+ type: "matrix-image";
2865
+ matrixDomain: string;
2866
+ matrixAssetId: string;
2867
+ attributes?: (Record<string, string> & {
2868
+ src?: undefined;
2869
+ }) | undefined;
2870
+ formattingOptions?: {
2871
+ alignment: "left" | "center" | "right" | "justify";
2872
+ } | undefined;
2873
+ matrixIdentifier?: string | undefined;
2874
+ } | {
2875
+ type: "dam-image";
2876
+ damSystemType: "bynder";
2877
+ damSystemIdentifier: string;
2878
+ damObjectId: string;
2879
+ attributes?: (Record<string, string> & {
2880
+ src?: undefined;
2881
+ }) | undefined;
2882
+ formattingOptions?: {
2883
+ alignment: "left" | "center" | "right" | "justify";
2884
+ } | undefined;
2885
+ damAdditional?: {
2886
+ variant?: string | undefined;
2887
+ } | undefined;
2888
+ } | {
2889
+ type: "component";
2890
+ componentId: string;
2891
+ componentSet: string;
2892
+ componentType?: "server" | "edge" | undefined;
2893
+ contentItem?: {
2894
+ id: string;
2895
+ } | {
2896
+ content: Record<string, unknown>;
2897
+ schemaName: string;
2898
+ } | undefined;
2899
+ } | (({
2900
+ type: "tag";
2901
+ tag: string;
2902
+ attributes?: Record<string, string> | undefined;
2903
+ font?: {
2904
+ bold?: boolean | undefined;
2905
+ italics?: boolean | undefined;
2906
+ underline?: boolean | undefined;
2907
+ color?: string | undefined;
2908
+ size?: string | undefined;
2909
+ fontFamily?: string | undefined;
2910
+ } | undefined;
2911
+ formattingOptions?: {
2912
+ alignment: "left" | "center" | "right" | "justify";
2913
+ } | undefined;
2914
+ } | {
2915
+ type: "fragment";
2916
+ } | {
2917
+ type: "link-to-matrix-asset";
2918
+ matrixDomain: string;
2919
+ matrixAssetId: string;
2920
+ target: "_blank" | "_self" | "_parent" | "_top";
2921
+ attributes?: (Record<string, string> & {
2922
+ target?: undefined;
2923
+ href?: undefined;
2924
+ }) | undefined;
2925
+ formattingOptions?: {
2926
+ alignment: "left" | "center" | "right" | "justify";
2927
+ } | undefined;
2928
+ matrixIdentifier?: string | undefined;
2929
+ }) & {
2930
+ children: import("../layout-content").LayoutContentNodes[];
2931
+ })))[];
2932
+ };
2933
+ name: "custom-layout";
2934
+ config: {
2935
+ rootWrapper: {
2936
+ tag: string;
2937
+ classes?: string[] | undefined;
2938
+ };
2939
+ minNodes: number;
2940
+ nodeWrapper?: {
2941
+ tag: string;
2942
+ classes?: string[] | undefined;
2943
+ } | undefined;
2944
+ maxNodes?: number | undefined;
2945
+ };
2946
+ }, {
2947
+ content: {
2948
+ main: ({
2949
+ value: string;
2950
+ type: "text";
2951
+ } | {
2952
+ type: "tag";
2953
+ tag: string;
2954
+ attributes?: Record<string, string> | undefined;
2955
+ font?: {
2956
+ bold?: boolean | undefined;
2957
+ italics?: boolean | undefined;
2958
+ underline?: boolean | undefined;
2959
+ color?: string | undefined;
2960
+ size?: string | undefined;
2961
+ fontFamily?: string | undefined;
2962
+ } | undefined;
2963
+ formattingOptions?: {
2964
+ alignment: "left" | "center" | "right" | "justify";
2965
+ } | undefined;
2966
+ } | {
2967
+ type: "fragment";
2968
+ } | {
2969
+ type: "link-to-matrix-asset";
2970
+ matrixDomain: string;
2971
+ matrixAssetId: string;
2972
+ target: "_blank" | "_self" | "_parent" | "_top";
2973
+ attributes?: (Record<string, string> & {
2974
+ target?: undefined;
2975
+ href?: undefined;
2976
+ }) | undefined;
2977
+ formattingOptions?: {
2978
+ alignment: "left" | "center" | "right" | "justify";
2979
+ } | undefined;
2980
+ matrixIdentifier?: string | undefined;
2981
+ } | {
2982
+ type: "matrix-image";
2983
+ matrixDomain: string;
2984
+ matrixAssetId: string;
2985
+ attributes?: (Record<string, string> & {
2986
+ src?: undefined;
2987
+ }) | undefined;
2988
+ formattingOptions?: {
2989
+ alignment: "left" | "center" | "right" | "justify";
2990
+ } | undefined;
2991
+ matrixIdentifier?: string | undefined;
2992
+ } | {
2993
+ type: "dam-image";
2994
+ damSystemType: "bynder";
2995
+ damSystemIdentifier: string;
2996
+ damObjectId: string;
2997
+ attributes?: (Record<string, string> & {
2998
+ src?: undefined;
2999
+ }) | undefined;
3000
+ formattingOptions?: {
3001
+ alignment: "left" | "center" | "right" | "justify";
3002
+ } | undefined;
3003
+ damAdditional?: {
3004
+ variant?: string | undefined;
3005
+ } | undefined;
3006
+ } | {
3007
+ type: "component";
3008
+ componentId: string;
3009
+ componentSet: string;
3010
+ componentType?: "server" | "edge" | undefined;
3011
+ contentItem?: {
3012
+ id: string;
3013
+ } | {
3014
+ content: Record<string, unknown>;
3015
+ schemaName: string;
3016
+ } | undefined;
3017
+ } | {
3018
+ type: "variation";
3019
+ default: {};
3020
+ })[];
3021
+ };
3022
+ name: "custom-layout";
3023
+ config: {
3024
+ rootWrapper: {
3025
+ tag: string;
3026
+ classes?: string[] | undefined;
3027
+ };
3028
+ nodeWrapper?: {
3029
+ tag: string;
3030
+ classes?: string[] | undefined;
3031
+ } | undefined;
3032
+ minNodes?: number | undefined;
3033
+ maxNodes?: number | undefined;
3034
+ };
2352
3035
  }>]>;
2353
3036
  export type PageLayout = z.infer<typeof PageLayout>;
2354
3037
  export declare const LAYOUT_TEMPLATES: {
2355
3038
  'layout-raw': string;
2356
3039
  'single-column': string;
2357
3040
  'two-column': string;
3041
+ 'custom-layout': string;
2358
3042
  };