import React from 'react'; import type { ISecurityGroup } 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 { constructor(props: ISecurityGroupSelectorProps); private refreshSecurityGroups; private onChange; render(): JSX.Element; }