import React from 'react';
import { ReferenceSchemaType } from '@sanity/types';
import { Observable } from 'rxjs';
import { ReferenceInfo } from './types';
/**
 * Used to preview a referenced type
 * Takes the reference type as props
 * @param props
 * @constructor
 */
export declare function OptionPreview(props: {
    id: string;
    type: ReferenceSchemaType;
    getReferenceInfo: (id: string) => Observable<ReferenceInfo>;
}): React.JSX.Element;
//# sourceMappingURL=OptionPreview.d.ts.map