import type { MessageSigner } from '../types/signer.js';
import type { ProgressToken } from '../types/subscriptions.js';
import type { MessagesFilter, MessagesQueryMessage } from '../types/messages-types.js';
import { AbstractMessage } from '../core/abstract-message.js';
export type MessagesQueryOptions = {
    signer: MessageSigner;
    messageTimestamp?: string;
    filters?: MessagesFilter[];
    permissionGrantIds?: string[];
    cursor?: ProgressToken;
    limit?: number;
    cidsOnly?: boolean;
};
export declare class MessagesQuery extends AbstractMessage<MessagesQueryMessage> {
    static parse(message: MessagesQueryMessage): Promise<MessagesQuery>;
    /**
     * Creates a MessagesQuery message.
     *
     * @throws {DwnError} if json schema validation fails.
     */
    static create(options: MessagesQueryOptions): Promise<MessagesQuery>;
}
//# sourceMappingURL=messages-query.d.ts.map