import { LogStreamInputUnion } from '../inputs'; import { ErrorUnion, OkUnion } from '../outputs'; /** * Sets new log stream for internal logging of TDLib. This is an offline method. Can * be called before authorization. Can be called synchronously * @param {Object} params * @param {LogStreamInputUnion} [params.logStream] - New log stream * @param {Object} state * @returns {OkUnion | ErrorUnion} */ export declare type SetLogStreamMethod = (params: SetLogStreamParams, state?: Record) => Promise; export interface SetLogStreamParams { /** New log stream */ logStream?: LogStreamInputUnion; }