/*! Copyright 2018 Ron Buckton (rbuckton@chronicles.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /** @module "iterable-query/fn" */ import { AsyncHierarchyIterable, PossiblyAsyncHierarchyIterable } from "../types"; /** @category Hierarchy */ export declare function rootAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function rootAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function ancestorsAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function ancestorsAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function ancestorsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function ancestorsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function descendantsAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function descendantsAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function descendantsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function descendantsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function parentsAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function parentsAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function selfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: T) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function selfAsync(source: AsyncHierarchyIterable, predicate?: (element: T) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAndSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsBeforeSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsBeforeSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAfterSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function siblingsAfterSelfAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function childrenAsync(source: PossiblyAsyncHierarchyIterable, predicate: (element: TNode) => element is U): AsyncHierarchyIterable; /** @category Hierarchy */ export declare function childrenAsync(source: PossiblyAsyncHierarchyIterable, predicate?: (element: TNode) => boolean | PromiseLike): AsyncHierarchyIterable; //# sourceMappingURL=traversalAsync.d.ts.map