import { CustomType, TypeDefinitionByName } from '@0x/types'; import * as React from 'react'; import { DocsInfo } from '../docs_info'; export interface TypeDefinitionProps { sectionName: string; customType: CustomType; shouldAddId?: boolean; docsInfo: DocsInfo; typeDefinitionByName?: TypeDefinitionByName; isInPopover?: boolean; } export interface TypeDefinitionState { shouldShowAnchor: boolean; } export declare class TypeDefinition extends React.Component { static defaultProps: Partial; constructor(props: TypeDefinitionProps); render(): React.ReactNode; private _setAnchorVisibility; /** * Type definition comments usually describe the type as a whole or the individual * properties within the type. Since TypeDoc just treats these comments simply as * one paragraph, we do some additional formatting so that we can display individual * property comments on their own lines. * E.g: * Interface SomeConfig * { * networkId: number, * derivationPath: string, * } * networkId: The ethereum networkId to set as the chainId from EIP155 * derivationPath: Initial derivation path to use e.g 44'/60'/0' * * Each property description should be on a new line. */ private _formatComment; } //# sourceMappingURL=type_definition.d.ts.map