import { Observable } from 'rxjs';
import { ApiInterfaceRx } from '@plugnet/api/types';
import { HeaderExtended } from '../type';
/**
* @name bestNumberFinalized
* @param {( Uint8Array | string )} hash - A block hash as U8 array or string.
* @returns An array containing the block header and the block author
* @description Get a specific block header and extend it with the author
* @example
*
*
* ```javascript
* const { author, number } = await api.derive.chain.getHeader('0x123...456');
*
* console.log(`block #${number} was authored by ${author}`);
* ```
*/
export declare function getHeader(api: ApiInterfaceRx): (hash: Uint8Array | string) => Observable;