import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
 * Policy is a collection of one or more statements that enforce fine-grained access control
 *  for the users of an organization.
 * ## Example Usage
 *
 * <!--Start PulumiCodeChooser -->
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as sdm from "@pierskarsenbarg/sdm";
 *
 * const policy = sdm.getPolicy({
 *     name: "policy-query",
 * });
 * ```
 * <!--End PulumiCodeChooser -->
 */
export declare function getPolicy(args?: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyResult>;
/**
 * A collection of arguments for invoking getPolicy.
 */
export interface GetPolicyArgs {
    /**
     * Optional description of the Policy.
     */
    description?: string;
    /**
     * Unique identifier of the Policy.
     */
    id?: string;
    /**
     * Unique human-readable name of the Policy.
     */
    name?: string;
    /**
     * The content of the Policy, in Cedar policy language.
     */
    policy?: string;
}
/**
 * A collection of values returned by getPolicy.
 */
export interface GetPolicyResult {
    /**
     * Optional description of the Policy.
     */
    readonly description?: string;
    /**
     * Unique identifier of the Policy.
     */
    readonly id?: string;
    /**
     * a list of strings of ids of data sources that match the given arguments.
     */
    readonly ids: string[];
    /**
     * Unique human-readable name of the Policy.
     */
    readonly name?: string;
    /**
     * A list where each element has the following attributes:
     */
    readonly policies: outputs.GetPolicyPolicy[];
    /**
     * The content of the Policy, in Cedar policy language.
     */
    readonly policy?: string;
}
/**
 * Policy is a collection of one or more statements that enforce fine-grained access control
 *  for the users of an organization.
 * ## Example Usage
 *
 * <!--Start PulumiCodeChooser -->
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as sdm from "@pierskarsenbarg/sdm";
 *
 * const policy = sdm.getPolicy({
 *     name: "policy-query",
 * });
 * ```
 * <!--End PulumiCodeChooser -->
 */
export declare function getPolicyOutput(args?: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPolicyResult>;
/**
 * A collection of arguments for invoking getPolicy.
 */
export interface GetPolicyOutputArgs {
    /**
     * Optional description of the Policy.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Unique identifier of the Policy.
     */
    id?: pulumi.Input<string | undefined>;
    /**
     * Unique human-readable name of the Policy.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The content of the Policy, in Cedar policy language.
     */
    policy?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getPolicy.d.ts.map