import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of cloud monitor event rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cloud_monitor.getEventRules({
 *     ruleName: "tftest",
 * });
 * ```
 */
/** @deprecated volcengine.cloud_monitor.EventRules has been deprecated in favor of volcengine.cloud_monitor.getEventRules */
export declare function eventRules(args?: EventRulesArgs, opts?: pulumi.InvokeOptions): Promise<EventRulesResult>;
/**
 * A collection of arguments for invoking EventRules.
 */
export interface EventRulesArgs {
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * Rule name, search rules by name using fuzzy search.
     */
    ruleName?: string;
    /**
     * Event source.
     */
    source?: string;
}
/**
 * A collection of values returned by EventRules.
 */
export interface EventRulesResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly outputFile?: string;
    /**
     * The name of the rule.
     */
    readonly ruleName?: string;
    /**
     * The collection of query.
     */
    readonly rules: outputs.cloud_monitor.EventRulesRule[];
    /**
     * Event source corresponding to pattern matching.
     */
    readonly source?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of cloud monitor event rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.cloud_monitor.getEventRules({
 *     ruleName: "tftest",
 * });
 * ```
 */
/** @deprecated volcengine.cloud_monitor.EventRules has been deprecated in favor of volcengine.cloud_monitor.getEventRules */
export declare function eventRulesOutput(args?: EventRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<EventRulesResult>;
/**
 * A collection of arguments for invoking EventRules.
 */
export interface EventRulesOutputArgs {
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * Rule name, search rules by name using fuzzy search.
     */
    ruleName?: pulumi.Input<string>;
    /**
     * Event source.
     */
    source?: pulumi.Input<string>;
}
