import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of transit router grant rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.transit_router.getGrantRules({
 *     transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.GrantRules has been deprecated in favor of volcengine.transit_router.getGrantRules */
export declare function grantRules(args: GrantRulesArgs, opts?: pulumi.InvokeOptions): Promise<GrantRulesResult>;
/**
 * A collection of arguments for invoking GrantRules.
 */
export interface GrantRulesArgs {
    /**
     * The id of the grant account.
     */
    grantAccountId?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The id of the transit router.
     */
    transitRouterId: string;
}
/**
 * A collection of values returned by GrantRules.
 */
export interface GrantRulesResult {
    /**
     * The id of the grant account.
     */
    readonly grantAccountId?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly outputFile?: string;
    /**
     * The collection of query.
     */
    readonly rules: outputs.transit_router.GrantRulesRule[];
    /**
     * The total count of query.
     */
    readonly totalCount: number;
    /**
     * The id of the transaction router.
     */
    readonly transitRouterId: string;
}
/**
 * Use this data source to query detailed information of transit router grant rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const foo = volcengine.transit_router.getGrantRules({
 *     transitRouterId: "tr-2bzy39uy6u3282dx0efxiqyq0",
 * });
 * ```
 */
/** @deprecated volcengine.transit_router.GrantRules has been deprecated in favor of volcengine.transit_router.getGrantRules */
export declare function grantRulesOutput(args: GrantRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GrantRulesResult>;
/**
 * A collection of arguments for invoking GrantRules.
 */
export interface GrantRulesOutputArgs {
    /**
     * The id of the grant account.
     */
    grantAccountId?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The id of the transit router.
     */
    transitRouterId: pulumi.Input<string>;
}
