import * as React from 'react';
import { TypographyProps } from './Typography';
import { SizeType } from '../config-provider/SizeContext';
export declare type BaseType = 'secondary' | 'danger' | 'warning';
interface CopyConfig {
    text?: string;
    onCopy?: () => void;
}
interface EditConfig {
    editing?: boolean;
    onStart?: () => void;
    onChange?: (value: string) => void;
}
interface EllipsisConfig {
    rows?: number;
    expandable?: boolean;
    onExpand?: () => void;
}
export interface BlockProps extends TypographyProps {
    editable?: boolean | EditConfig;
    copyable?: boolean | CopyConfig;
    type?: BaseType;
    disabled?: boolean;
    ellipsis?: boolean | EllipsisConfig;
    size?: SizeType;
    code?: boolean;
    mark?: boolean;
    underline?: boolean;
    delete?: boolean;
    strong?: boolean;
    subheading?: boolean;
}
interface InternalBlockProps extends BlockProps {
    component: string;
}
declare const _default: React.SFC<InternalBlockProps>;
export default _default;
