import { Transform2D } from "../transforms/Transform2D";
import type { CameraKitDeviceOptions } from "./CameraKitSource";
import { CameraKitSource } from "./CameraKitSource";
/**
 * Media stream source options.
 *
 * @category Rendering
 */
export interface MediaStreamSourceOptions extends CameraKitDeviceOptions {
    /**
     * Specifies the 2D transformation to apply to the Lens.
     * By default, CameraKit applies no transformation.
     */
    transform: Transform2D;
    /**
     * Indicates whether the audio from the source should be disabled.
     * By default, CameraKit passes audio to the Lens.
     */
    disableSourceAudio: boolean;
}
/**
 * Create a {@link CameraKitSource} from any
 * [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream).
 *
 * @param stream Any MediaStream, such as obtained via `canvas.captureStream()` or `mediaDevices.getUserMedia()`.
 * @param options Options.
 *
 * @category Rendering
 */
export declare function createMediaStreamSource(stream: MediaStream, options?: Partial<MediaStreamSourceOptions>): CameraKitSource;
//# sourceMappingURL=MediaStreamSource.d.ts.map