import { AnyLayer } from "../unions"; import { ChildrenCollection } from "./ChildrenCollection"; import { RecursiveRetrievalOptions } from "./LayerRetrievalOptions"; /** @internal */ export interface RecursiveLayerOptions extends RecursiveRetrievalOptions { /** * Starting point(s) of the recursion. * The layers in this collections and their all of their children (recursively) will be included in the result. */ from: ChildrenCollection; /** * If set to `true`, layers will be ordered by their display order: * Layers listed first in the returned array are shown _below_ layers listed at a later index. * * By default, layers are returned in arbitrary order. */ sortByDisplayOrder?: boolean; } export declare function getRecursiveLayers(options: RecursiveLayerOptions): AnyLayer[];