export interface TasFirebaseCrashlyticsPlugin {
    /**
     * Forces a crash to test the implementation.
     *
     * Only available for Android and iOS.
     */
    crash(options: {
        message: string;
    }): Promise<void>;
    /**
     * Adds a log message that is sent with your crash data.
     * Only visible in the Crashlytics dashboard.
     *
     * Only available for Android and iOS.
     */
    addLogMessage(options: {
        message: string;
    }): Promise<void>;
    /**
     * Enables/disables automatic data collection.
     * The value does not apply until the next run of the app.
     *
     * Only available for Android and iOS.
     */
    setEnabled(options: {
        enabled: boolean;
    }): Promise<void>;
    /**
     * Records a non-fatal report to send to Crashlytics.
     *
     * Only available for Android and iOS.
     */
    recordException(options: RecordExceptionOptions): Promise<void>;
}
export interface RecordExceptionOptions {
    message: string;
    /**
     * Error code within a specific error domain.
     * This option is ignored when `stacktrace` is provided.
     *
     * Only available for iOS.
     */
    code?: number;
    /**
     * A string containing the error domain.
     * This option is ignored when `stacktrace` is provided.
     *
     * Only available for iOS.
     */
    domain?: string;
    /**
     * A stacktrace generated by `stacktrace.js`.
     * Cannot be combined with `code` and `domain`.
     */
    stacktrace?: StackFrame[];
}
/**
 * Subset of the Stacktrace generated by `stacktrace.js`.
 */
export interface StackFrame {
    lineNumber?: number;
    fileName?: string;
    functionName?: string;
}
