/// <reference types="node" />
import Serverless from 'serverless';
import { Maybe, FunctionWithConfig } from './types';
import { ExecOptions } from 'child_process';
export declare const notEmpty: <TValue>(value: Maybe<TValue>) => value is TValue;
export declare const isFunctionDefinition: (value: Serverless.FunctionDefinitionHandler | Serverless.FunctionDefinitionImage) => value is FunctionWithConfig;
export declare const exec: (arg1: string, arg2: {
    encoding: 'buffer' | null;
} & ExecOptions) => Promise<Buffer>;
