import { ChatMessage, ChatMessageType } from '@bringg/types';
import { MomentInput } from 'moment';
export type ChatMessageResponse = {
    success: boolean;
    messages: ChatMessage[];
    rc: number;
    has_next_page: boolean;
};
export type CreateMessageRequest = {
    uuid: string;
    chat_conversation_id: number;
    client_timestamp?: MomentInput;
    external_id?: string;
    type: ChatMessageType;
    payload: any;
};
export type CreateMessageResponse = {
    messages: ChatMessage[];
    success: boolean;
    rc: number;
};
export type FetchMessagesRequest = {
    id: number;
    before?: MomentInput;
    after?: MomentInput;
    page?: number;
    items?: number;
};
export declare const defaultExtractor: (response: any) => any;
export declare const singleExtractor: (response: any) => any;
export declare const multipleExtractor: (response: any) => any;
