import { TagOpts, TagRefs, NestedTags } from 'riot';
import { RiotWrapper } from './index';
import { MountOptions } from '../renderers';
/**
 * Mount a tag with full rendering for testing.
 *
 * @param src - source string to define tag(s).
 * @param name - tagName. You can skip this if src contains a single tag.
 * @param opts - opts to create tag with
 * @param options - options to mount
 * @template TOpts type of opts
 * @template TRefs type of refs property
 * @returns wrapper of the mounted instance
 */
declare function mount<TOpts extends TagOpts = TagOpts, TRefs extends TagRefs = TagRefs, TTags extends NestedTags = NestedTags>(src: string, name: string, opts?: TOpts, options?: MountOptions): RiotWrapper<TOpts, TRefs, TTags>;
declare function mount<TOpts extends TagOpts = TagOpts, TRefs extends TagRefs = TagRefs, TTags extends NestedTags = NestedTags>(src: string, opts?: TOpts, options?: MountOptions): RiotWrapper<TOpts, TRefs, TTags>;
export default mount;
