import React from 'react'; import type { IFunctionModalProps } from '@spinnaker/core'; import { TaskMonitor } from '@spinnaker/core'; import type { IAmazonFunction, IAmazonFunctionUpsertCommand } from '../domain'; export interface IAmazonCreateFunctionProps extends IFunctionModalProps { functionDef: IAmazonFunction; } export interface IAmazonCreateFunctionState { isNew: boolean; functionCommand: IAmazonFunctionUpsertCommand; taskMonitor: TaskMonitor; } export declare class CreateLambdaFunction extends React.Component { static defaultProps: Partial; constructor(props: IAmazonCreateFunctionProps); private _isUnmounted; private refreshUnsubscribe; static show(props: IAmazonCreateFunctionProps): Promise; componentWillUnmount(): void; protected onApplicationRefresh(values: IAmazonFunctionUpsertCommand): void; private onTaskComplete; private checkForS3Update; private submit; render(): JSX.Element; }