import type { Database } from '../types/supabase.types';
import type { OptionsBase } from '../utils';
export interface OptionsBaseDebug extends OptionsBase {
    device?: string;
}
export declare function markSnag(channel: string, orgId: string, apikey: string, event: string, appId?: string, icon?: string): Promise<void>;
export declare function cancelCommand(channel: string, command: boolean | symbol, orgId: string, apikey: string): Promise<void>;
interface Order {
    key: string;
    sortable?: 'asc' | 'desc';
}
interface QueryStats {
    appId: string;
    devicesId?: string[];
    search?: string;
    order?: Order[];
    rangeStart?: string;
    rangeEnd?: string;
    limit?: number;
}
interface LogData {
    app_id: string;
    device_id: string;
    action: Database['public']['Enums']['stats_action'];
    version_id: number;
    version?: number;
    created_at: string;
}
export declare function getStats(apikey: string, query: QueryStats, after: string | null): Promise<LogData[]>;
export declare function waitLog(channel: string, apikey: string, appId: string, orgId: string, deviceId?: string): Promise<void>;
export declare function debugApp(appId: string, options: OptionsBaseDebug, silent?: boolean): Promise<void>;
export {};
//# sourceMappingURL=debug.d.ts.map