import * as React from "react";
import { WithApolloClient } from "react-apollo";
import { ICivilContext } from "../context/CivilContext";
import { NewsroomChannelInjectedProps } from "../WithNewsroomChannelHOC";
export declare const StripeContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
export interface StripeOauthParams {
    code?: string;
    error?: string;
    error_description?: string;
}
export interface DashboardNewsroomStripeConnectOwnProps {
    newsroomAddress: string;
}
export interface DashboardNewsroomStripeConnectState {
    connectingStripe?: boolean;
    connectStripeError?: any;
}
export declare type DashboardNewsroomStripeConnectProps = WithApolloClient<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps>;
export declare const CHANNEL_CONNECT_STRIPE_MUTATION: any;
export declare class DashboardNewsroomStripeConnectComponent extends React.Component<DashboardNewsroomStripeConnectProps, DashboardNewsroomStripeConnectState> {
    static contextType: any;
    context: ICivilContext;
    private qsParams;
    constructor(props: DashboardNewsroomStripeConnectProps);
    componentDidMount(): Promise<void>;
    render(): JSX.Element;
    private renderBody;
    private renderStripeConnectButton;
}
export declare const DashboardNewsroomStripeConnect: {
    new (props: import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">): {
        render(): JSX.Element;
        renderNoChannel(): JSX.Element;
        renderError(message: string): JSX.Element;
        context: any;
        setState<K extends "newsroomAddress">(state: import("../WithNewsroomChannelHOC").WithNewsroomChannelState | ((prevState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>, props: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>) => import("../WithNewsroomChannelHOC").WithNewsroomChannelState | Pick<import("../WithNewsroomChannelHOC").WithNewsroomChannelState, K> | null) | Pick<import("../WithNewsroomChannelHOC").WithNewsroomChannelState, K> | null, callback?: (() => void) | undefined): void;
        forceUpdate(callback?: (() => void) | undefined): void;
        readonly props: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, nextState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, prevState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>): any;
        componentDidUpdate?(prevProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, prevState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, nextState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelOuterProps & Pick<DashboardNewsroomStripeConnectOwnProps & NewsroomChannelInjectedProps, "newsroomAddress">>, nextState: Readonly<import("../WithNewsroomChannelHOC").WithNewsroomChannelState>, nextContext: any): void;
    };
    contextType?: React.Context<any> | undefined;
};
