import { SharedSlice } from "./sharedSlice.js";
import { Slice } from "./slice.js";
import { FieldState } from "./types.js";

//#region src/types/value/sliceZone.d.ts
/**
 * Prismic Slices are sections of your website. Prismic documents contain a dynamic "Slice Zone"
 * that allows content creators to add, edit, and rearrange Slices to compose dynamic layouts for
 * any page design, such as blog posts, landing pages, case studies, and tutorials.
 *
 * @see More details: {@link https://prismic.io/docs/slice}
 */
type SliceZone<Slices extends Slice | SharedSlice = Slice | SharedSlice, State extends FieldState = FieldState> = State extends "empty" ? [] : [Slices, ...Slices[]];
//#endregion
export { SliceZone };
//# sourceMappingURL=sliceZone.d.ts.map