import * as PropTypes from 'prop-types';
import { Node as PMNode } from 'prosemirror-model';
import { EditorView } from 'prosemirror-view';
import * as React from 'react';
import { getPosHandler, SelectionBasedNodeView } from '../../../nodeviews/ReactNodeView';
import { SmartCardProps } from './genericCard';
export interface Props {
    children?: React.ReactNode;
    node: PMNode;
    view: EditorView;
    selected?: boolean;
    getPos: getPosHandler;
}
export declare class BlockCardComponent extends React.PureComponent<SmartCardProps> {
    onClick: () => void;
    static contextTypes: {
        contextAdapter: PropTypes.Requireable<object>;
    };
    onResolve: (data: {
        url?: string;
        title?: string;
    }) => void;
    render(): JSX.Element;
}
export declare class BlockCard extends SelectionBasedNodeView {
    render(): JSX.Element;
}
