import type { Editor } from "@opendesign/universal"; import type { LayerListItem } from "../../opendesign-universal/src/nodes/artboard.js"; type useLayerListOptions = { naturalOrder?: boolean; editorOverride?: Editor; }; /** * Custom hook to get list of layers in the artboard. * Updates the list whenever new component is pasted into the artboard. * * @param options {@link @opendesign/universal!ArtboardNode.getLayers} * @param options.naturalOrder - whether to return layers in natural order or not * @param options.editorOverride - editor to use instead of the one from context * @returns list of layers in the artboard if any or nullish value if no artboard is present */ export declare function useLayerList(options?: useLayerListOptions): LayerListItem | null | undefined; export {};