UNPKG

mastra

Version:
17 lines 527 B
import type { ApiResponseShape } from './types.js'; interface PaginationInfo { total: number; page: number; perPage: number | false; hasMore: boolean; } export declare function writeJson(value: unknown, pretty: boolean, stream?: NodeJS.WritableStream): void; export declare function normalizeSuccess(data: unknown, list: boolean, responseShape?: ApiResponseShape): { data: unknown; page?: undefined; } | { data: unknown[]; page: PaginationInfo; }; export {}; //# sourceMappingURL=output.d.ts.map