/**
 * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * Creates a reference picker modal and return a promise which provides the result
 *
 * @param providerId - Optional ID of initial selected provider
 * @param isInsideViewer - Should be true if this function is called while the Viewer is displayed
 */
export declare function getLinkWithPicker(providerId?: string, isInsideViewer?: boolean): Promise<string>;
