import { DynamicContentStore } from "../../flex-ui-core/src";
import * as React from "react";
import { CRMContainerChildrenKeys, CRMContainerChildrenProps, CRMContainerProps } from "./CRMContainer.definitions";
export * from "./CRMContainer.Components";
/**
* @classdesc This is a container for the CRM integration.
* Can be themed with `Theme.CRMContainer` in [Theme](Theme).
* @component
* @hideconstructor
* @param {CRMContainer.CRMContainerProps} props - Properties to be passed to configure this component.
* @category Components / Programmable
* @subcategory Components
* @example
* import { CRMContainer } from "@twilio/flex-ui";
*
*/
export declare class CRMContainer extends React.PureComponent {
static readonly displayName = "CRMContainer";
/**
* Dynamic content store
*
* @static
* @type {DynamicContentStore}
* @readonly
* @example
* import { CRMContainer } from "@twilio/flex-ui";
* const content = CRMContainer.Content;
*/
static readonly Content: DynamicContentStore;
/**
* Default properties
*
* @static
* @type {CRMContainer.CRMContainerProps}
* @readonly
* @example
* import { CRMContainer } from "@twilio/flex-ui";
* const props = CRMContainer.defaultProps;
*
*/
static readonly defaultProps: Partial;
static updateAll(): void;
render(): JSX.Element;
}
export declare const Connected: {
new (props: Omit & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps> | Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>): {
render(): JSX.Element;
context: any;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
forceUpdate(callback?: () => void): void;
readonly props: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>> & Readonly<{
children?: React.ReactNode | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void;
};
new (props: Omit & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>, context: any): {
render(): JSX.Element;
context: any;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
forceUpdate(callback?: () => void): void;
readonly props: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>> & Readonly<{
children?: React.ReactNode | undefined;
}>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly & {
theme?: import("@emotion/react").Theme;
} & {
children?: React.ReactNode | undefined;
}, keyof import("../context").TaskContextProps>>, nextState: Readonly<{}>, nextContext: any): void;
};
readonly displayName: string;
contextType?: React.Context | undefined;
} & import("hoist-non-react-statics").NonReactStatics & {
theme?: import("@emotion/react").Theme;
}>, {}>;