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