import { RenderDataSpecification, Renderer, RendererMode } from '../../types';
/**
 * Returns a renderer instance based on the specified mode and parameters.
 *
 * @param params - An object containing the parameters for the renderer.
 * @param params.mode - The mode of the renderer. Supported values are:
 *   - `'matrix'`: Creates a matrix renderer with a specified fall chance.
 *   - `'video'`: Creates a video renderer with a specified video source.
 *   - `'image'`: Creates a image renderer with a specified inmage source.
 *
 * @param params.fallChance - The chance of falling, used only in `'matrix'` mode.
 * @param params.video - The video source identifier, used only in `'video'` mode.
 *   - `'video1'`: Uses the `/assets/video.mp4` file.
 *   - Any other value: Uses the `/assets/circle-spin.mp4` file.
 *
 * @returns A `Renderer` instance corresponding to the specified mode.
 *
 * @throws {Error} If an unknown mode is provided.
 */
export declare const getRenderer: <T extends RendererMode>({ mode, data, }: {
    mode: T;
    data?: RenderDataSpecification<T> | null;
}) => Renderer | null;
//# sourceMappingURL=renderer-factory.d.ts.map