import React from 'react';
import { SCCategoryType, SCMediaType, SCPollType, SCTagType } from '@selfcommunity/core';
import { PaperProps } from '@mui/material';
import { SCMediaObjectType } from '../../types/media';
import { DistributiveOmit } from '@mui/types';
import { OverrideProps } from '@mui/material/OverridableComponent';
export interface InlineComposerTypeMap<P = {}, D extends React.ElementType = 'div'> {
    props: P & DistributiveOmit<PaperProps, 'defaultValue'> & {
        /**
         * Media objects available
         * @default Image, Document, Link
         */
        mediaObjectTypes?: SCMediaObjectType[];
        /**
         * Initialization Data for the Composer, this is a hook to generate custom posts
         * @default null
         */
        defaultValue?: {
            title?: string;
            text?: string;
            categories?: SCCategoryType[];
            audience?: string;
            addressing?: SCTagType[];
            medias?: SCMediaType[];
            poll?: SCPollType;
            location?: string;
        };
        /**
         * Callback triggered on success contribution creation
         * @default null
         */
        onSuccess?: (res: any) => void;
    };
    defaultComponent: D;
}
export declare type InlineComposerProps<D extends React.ElementType = InlineComposerTypeMap['defaultComponent'], P = {}> = OverrideProps<InlineComposerTypeMap<P, D>, D>;
export default function InlineComposer(props: InlineComposerProps): JSX.Element;
//# sourceMappingURL=InlineComposer.d.ts.map