import * as React from 'react'; import { RouteComponentProps } from 'react-router'; import * as GQL from '../../backend/graphqlschema'; import { ExtensionsProps } from '../../extensions/ExtensionsClientCommonContext'; import { ErrorLike } from '../../util/errors'; interface Props extends RouteComponentProps<{ name: string; }>, ExtensionsProps { /** * The currently authenticated user. */ user: GQL.IUser | null; isLightTheme: boolean; } interface State { /** * The fetched org or an error if an error occurred; undefined while loading. */ orgOrError?: GQL.IOrg | ErrorLike; } /** * Properties passed to all page components in the org area. */ export interface OrgAreaPageProps extends ExtensionsProps { /** The org that is the subject of the page. */ org: GQL.IOrg; /** Called when the organization is updated and must be reloaded. */ onOrganizationUpdate: () => void; /** The currently authenticated user. */ authenticatedUser: GQL.IUser | null; } /** * An organization's public profile area. */ export declare class OrgArea extends React.Component { state: State; private routeMatchChanges; private refreshRequests; private subscriptions; componentDidMount(): void; componentWillReceiveProps(props: Props): void; componentWillUnmount(): void; render(): JSX.Element | null; private onDidRespondToInvitation; private onDidUpdateOrganization; } export {}; //# sourceMappingURL=OrgArea.d.ts.map