import React from 'react'; import type { DeckRuntimeServices, IFunctionModalProps, IRouterInjectedProps } 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 CreateLambdaFunctionComponent extends React.Component { static defaultProps: Partial; constructor(props: IAmazonCreateFunctionProps & IRouterInjectedProps); private _isUnmounted; private refreshUnsubscribe?; static show(props: IAmazonCreateFunctionProps, runtimeServices: DeckRuntimeServices): Promise; componentWillUnmount(): void; protected onApplicationRefresh(values: IAmazonFunctionUpsertCommand): void; private onTaskComplete; private checkForS3Update; private submit; render(): React.JSX.Element; } export declare const CreateLambdaFunction: React.ForwardRefExoticComponent & { children?: React.ReactNode; } & React.RefAttributes> & { show: typeof CreateLambdaFunctionComponent.show; };