import React from 'react'; import type { ISecurityGroup } from '@spinnaker/core'; import { DeckRuntimeContext } from '@spinnaker/core'; import type { IAmazonServerGroupCommand } from '../../serverGroupConfiguration.service'; export interface ISecurityGroupSelectorProps { command: IAmazonServerGroupCommand; availableGroups: ISecurityGroup[]; hideLabel?: boolean; refresh?: () => Promise; groupsToEdit: string[]; helpKey?: string; onChange: (securityGroups: string[]) => void; } export interface ISecurityGroupSelectorState { refreshing: boolean; refreshTime: number; } export declare class SecurityGroupSelector extends React.Component { static contextType: React.Context; context: React.ContextType; constructor(props: ISecurityGroupSelectorProps); private getRefreshTime; private refreshSecurityGroups; private onChange; render(): React.JSX.Element; }