import pino from 'pino';
/**
 * customize how pino handles extra arguments and have it work in a similar way to node Console log
 * should be passed to the logMethod hook of pino
 *
 * See {@link https://getpino.io/#/docs/api?id=logmethod} for more details about pino hooks
 *
 * @example we handle passing a string as first argument with object as a second argument
 * ```ts
 * // will serialize as { "message": "foo", "lorem": "ipsum" }
 * logger.info('foo', { lorem: 'ipsum' })
 * ```
 *
 * @example we handle passing extra arguments
 * ```ts
 * // will serialize as { "message": "foo { lorem: 'ipsum' } { foo: 'bar' }"}
 * logger.info('foo', { lorem: 'ipsum' }, { foo: 'bar' })
 * // will serialize as { "message": "{ lorem: 'ipsum' }, 'foo', { foo: 'bar' }"}
 * logger.info({ lorem: 'ipsum' }, 'foo', { foo: 'bar' })
 * ```
 *
 * @example we use standard pino for one argument
 * ```ts
 * // will serialize as { "message": "foo" }
 * logger.info('foo')
 * // will serialize as { "lorem": "ipsum" }
 * logger.info({ lorem: 'ipsum'})
 * ```
 *
 * @example we use standard pino for first argument object and second argument string
 * ```ts
 * // will serialize as { "message": "foo", "lorem": "ipsum" }
 * logger.info({ lorem: 'ipsum', 'foo' })
 * ```
 */
export declare function consoleLikeLogHook(instance: pino.Logger, args: Array<any>, method: pino.LogFn): void;
