import { Option, PresentArray } from '@glimmer/interfaces'; export declare function isPresent(list: readonly T[]): list is PresentArray; export declare function ifPresent(list: T[], ifPresent: (input: PresentArray) => U, otherwise: () => V): U | V; export declare function toPresentOption(list: T[]): Option>; export declare function assertPresent(list: T[], message?: string): asserts list is PresentArray; export declare function mapPresent(list: PresentArray, callback: (input: T) => U): PresentArray; export declare function mapPresent(list: PresentArray | null, callback: (input: T) => U): PresentArray | null; //# sourceMappingURL=present.d.ts.map