import Promise = require('any-promise'); export default function promiseFinally(value: any, cb: Function): Promise;