import { ITextList } from './model';
/**
 * Add a new message to a Thread.
 * ```typescript
 * Textile.messages.add(threadId, body);
 * ```
 */
export declare function add(threadId: string, body: string): Promise<string>;
/**
 * List all messages or list all messages in a Thread.
 * ```typescript
 * Textile.messages.list(offset, limit);
 * ```
 */
export declare function list(offset: string, limit: number, threadId?: string): Promise<ITextList>;
