import { EmbedProvider } from '../provider'; /** * Detecting and parsing for Loom URLs. * * [Loom's Official embed documentation](https://www.loom.com/share/e883f70b219a49f6ba7fbeac71a72604) * * @module providers/loom */ /** * Matches an ID from Loom URLs that look like: * `https://www.loom.com/share/e883f70b219a49f6ba7fbeac71a72604` * * @remarks * This pattern allows for: * - Optional protocol (e.g. `https://`) * - Optional `www.` * - `loom.com/share/` * - A capture group of letters, digits, dashes, or underscores. * * @example * ```ts * // Matches: * // https://loom.com/share/e883f70b219a49f6ba7fbeac71a72604 * // https://www.loom.com/share/e883f70b219a49f6ba7fbeac71a72604 * ``` */ export declare const loomUrlRegex: RegExp; /** * Returns the Loom video ID from a shared link. * * @param url - A Loom share URL (or `undefined`). * @returns The extracted Loom video ID if found, otherwise an empty string. * @throws If `url` length exceeds 1000 characters (a safety guard). * * @example * ```ts * const loomId = getLoomIdFromUrl("loom.com/share/e883f70b219a49f6ba7fbeac71a72604"); * console.log(loomId); // "e883f70b219a49f6ba7fbeac71a72604" * ``` */ export declare const getLoomIdFromUrl: (url: string | undefined) => string; /** * Constructs an embeddable Loom URL from a Loom video ID. * * @param loomId - The Loom video ID to embed. * @returns A URL suitable for use in an `