import type { PageSettings, PagedResult } from '@ms-cloudpack/remote-cache'; interface SelectItemsFromPaginatedResultsParams { /** The message to display to the user when selecting an item. */ message: string; /** A function that fetches a page of items. */ getPage: (pageSettings: PageSettings) => Promise>; /** A function that returns a string to display for each item in the list. */ getTitle: (item: T) => string; /** The default page size to use when fetching items. @default 10. */ defaultPageSize?: number; } /** * Presents an interactive prompt that lists accumulated items plus a "Load More" option. * When "Load More" is selected, it fetches the next page and updates the list. * * @returns The entity selected by the user or null if nothing is chosen. */ export declare function selectItemFromPaginatedResults(params: SelectItemsFromPaginatedResultsParams): Promise; export {}; //# sourceMappingURL=selectItemFromPaginatedResults.d.ts.map