import type { FunctionDefinitionHandler } from 'serverless';
export declare const humanSize: (size: number) => string;
/**
 * Checks if the runtime for the given function is nodejs.
 * If the runtime is not set , checks the global runtime.
 * @param {FunctionDefinitionHandler} func the function to be checked
 * @returns {boolean} true if the function/global runtime is nodejs; false, otherwise
 */
export declare function isNodeFunction(func: FunctionDefinitionHandler, providerRuntime: string | undefined): boolean;
export declare function determineFileParts(handlerFile: string): {
    filePath: string;
    fileName: string;
};
export declare function enabledViaSimpleConfig(field: unknown): field is boolean;
export declare function enabledViaConfigObject<T extends {
    enable?: boolean;
}>(field: T): field is T;
