import * as React from "react";
export interface NewsroomChannelData {
    id: string;
    currentUserIsAdmin: boolean;
    isStripeConnected: boolean;
    newsroom: {
        multisigAddress: string;
        charter: {
            name: string;
            tagline: string;
            logoUrl: string;
            newsroomUrl: string;
        };
    };
}
export interface WithNewsroomChannelOuterProps {
    newsroomAddress?: string;
    newsroomContractAddress?: string;
}
export interface WithNewsroomChannelState {
    newsroomAddress: string;
}
export interface NewsroomChannelInjectedProps {
    channelData: NewsroomChannelData;
}
export declare const CHANNEL_BY_NEWSROOM_QUERY: any;
export declare const CREATE_NEWSROOM_CHANNEL_MUTATION: any;
/** Usage: The component returned by this HOC will require the `newsroomAddress` or `newsroomContractAddress` prop and will pass `channelData` to the wrapped component, or instead will show loading or error states as necessary. If the newsroom channel does not yet exist, it will attempt to create it. */
export declare const withNewsroomChannel: <TProps extends NewsroomChannelInjectedProps>(WrappedComponent: React.ComponentType<TProps>) => {
    new (props: WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>): {
        render(): JSX.Element;
        renderNoChannel(): JSX.Element;
        renderError(message: string): JSX.Element;
        context: any;
        setState<K extends "newsroomAddress">(state: WithNewsroomChannelState | ((prevState: Readonly<WithNewsroomChannelState>, props: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>) => WithNewsroomChannelState | Pick<WithNewsroomChannelState, K> | null) | Pick<WithNewsroomChannelState, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callBack?: (() => void) | undefined): void;
        readonly props: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<WithNewsroomChannelState>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, nextState: Readonly<WithNewsroomChannelState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, prevState: Readonly<WithNewsroomChannelState>): any;
        componentDidUpdate?(prevProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, prevState: Readonly<WithNewsroomChannelState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, nextState: Readonly<WithNewsroomChannelState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<WithNewsroomChannelOuterProps & Pick<TProps, Exclude<keyof TProps, "channelData">>>, nextState: Readonly<WithNewsroomChannelState>, nextContext: any): void;
    };
    contextType?: React.Context<any> | undefined;
};
