/**
 * Copies the provided text to the clipboard using the platform's native command.
 *
 * @param {string} text - The text to copy to the clipboard.
 * @returns {Promise<string>} A promise that resolves with the copied text, or rejects with an error.
 * @throws {Error} If the platform is not supported or if the copy command fails.
 */
declare const copyToClipboard: (text: string) => Promise<string>;
export default copyToClipboard;
