netlify-cli
Version:
Netlify command line tool
21 lines • 788 B
TypeScript
import { type Package } from 'normalize-package-data';
import type { BaseBuildResult } from '../../index.js';
export type NetlifyLambdaBuildResult = BaseBuildResult;
export declare const detectNetlifyLambda: ({ packageJson }: {
packageJson: Package;
}) => Promise<false | {
build: ({ cache }?: {
cache?: {} | undefined;
}) => Promise<NetlifyLambdaBuildResult>;
builderName: string;
npmScript: string;
}>;
export default function detectNetlifyLambdaBuilder(): Promise<false | {
build: ({ cache }?: {
cache?: {} | undefined;
}) => Promise<NetlifyLambdaBuildResult>;
builderName: string;
npmScript: string;
}>;
export type NetlifyLambdaBuilder = Awaited<ReturnType<typeof detectNetlifyLambda>>;
//# sourceMappingURL=netlify-lambda.d.ts.map