declare namespace Chai { interface PromisedAssertion { text(text: string | string[]): PromisedAssertion; } }