import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const FeatureFlagsListInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly active: Schema.optional<Schema.Literals<readonly ["STALE", "false", "true"]>>;
    readonly created_by_id: Schema.optional<Schema.String>;
    readonly evaluation_runtime: Schema.optional<Schema.Literals<readonly ["both", "client", "server"]>>;
    readonly excluded_properties: Schema.optional<Schema.String>;
    readonly has_evaluation_contexts: Schema.optional<Schema.Literals<readonly ["false", "true"]>>;
    readonly limit: Schema.optional<Schema.Number>;
    readonly offset: Schema.optional<Schema.Number>;
    readonly search: Schema.optional<Schema.String>;
    readonly tags: Schema.optional<Schema.String>;
    readonly type: Schema.optional<Schema.Literals<readonly ["boolean", "experiment", "multivariant", "remote_config"]>>;
}>;
export type FeatureFlagsListInput = typeof FeatureFlagsListInput.Type;
export declare const FeatureFlagsListOutput: Schema.Struct<{
    readonly count: Schema.optional<Schema.Number>;
    readonly next: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly previous: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly id: Schema.optional<Schema.Number>;
        readonly name: Schema.optional<Schema.String>;
        readonly key: Schema.optional<Schema.String>;
        readonly filters: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly deleted: Schema.optional<Schema.Boolean>;
        readonly active: Schema.optional<Schema.Boolean>;
        readonly created_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly uuid: Schema.optional<Schema.String>;
            readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly last_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
            readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly role_at_organization: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly updated_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly version: Schema.optional<Schema.Number>;
        readonly last_modified_by: Schema.optional<Schema.NullOr<Schema.Struct<{
            readonly id: Schema.optional<Schema.Number>;
            readonly uuid: Schema.optional<Schema.String>;
            readonly distinct_id: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly first_name: Schema.optional<Schema.String>;
            readonly last_name: Schema.optional<Schema.String>;
            readonly email: Schema.optional<Schema.String>;
            readonly is_email_verified: Schema.optional<Schema.NullOr<Schema.Boolean>>;
            readonly hedgehog_config: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.Unknown>>>;
            readonly role_at_organization: Schema.optional<Schema.Unknown>;
        }>>>;
        readonly ensure_experience_continuity: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly experiment_set: Schema.optional<Schema.$Array<Schema.Number>>;
        readonly experiment_set_metadata: Schema.optional<Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>>;
        readonly surveys: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly features: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly rollback_conditions: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        readonly performed_rollback: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly can_edit: Schema.optional<Schema.Boolean>;
        readonly tags: Schema.optional<Schema.$Array<Schema.Unknown>>;
        readonly evaluation_contexts: Schema.optional<Schema.$Array<Schema.Unknown>>;
        readonly usage_dashboard: Schema.optional<Schema.Number>;
        readonly analytics_dashboards: Schema.optional<Schema.$Array<Schema.Number>>;
        readonly has_enriched_analytics: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly user_access_level: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly creation_context: Schema.optional<Schema.Literals<readonly ["feature_flags", "experiments", "surveys", "early_access_features", "web_experiments", "product_tours"]>>;
        readonly is_remote_configuration: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly has_encrypted_payloads: Schema.optional<Schema.NullOr<Schema.Boolean>>;
        readonly status: Schema.optional<Schema.String>;
        readonly evaluation_runtime: Schema.optional<Schema.Unknown>;
        readonly bucketing_identifier: Schema.optional<Schema.Unknown>;
        readonly last_called_at: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly _create_in_folder: Schema.optional<Schema.String>;
        readonly _should_create_usage_dashboard: Schema.optional<Schema.Boolean>;
        readonly is_used_in_replay_settings: Schema.optional<Schema.Boolean>;
    }>>>;
}>;
export type FeatureFlagsListOutput = typeof FeatureFlagsListOutput.Type;
/**
 * Create, read, update and delete feature flags. [See docs](https://posthog.com/docs/feature-flags) for more information on feature flags.
 * If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
 *
 * @param created_by_id - The User ID which initially created the feature flag.
 * @param evaluation_runtime - Filter feature flags by their evaluation runtime.
 * @param excluded_properties - JSON-encoded list of feature flag keys to exclude from the results.
 * @param has_evaluation_contexts - Filter feature flags by presence of evaluation contexts. 'true' returns only flags with at least one evaluation context, 'false' returns only flags without.
 * @param limit - Number of results to return per page.
 * @param offset - The initial index from which to return the results.
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 * @param search - Search by feature flag key or name. Case insensitive.
 * @param tags - JSON-encoded list of tag names to filter feature flags by.
 */
export declare const featureFlagsList: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly active?: "STALE" | "false" | "true" | undefined;
    readonly created_by_id?: string | undefined;
    readonly evaluation_runtime?: "both" | "client" | "server" | undefined;
    readonly excluded_properties?: string | undefined;
    readonly has_evaluation_contexts?: "false" | "true" | undefined;
    readonly limit?: number | undefined;
    readonly offset?: number | undefined;
    readonly search?: string | undefined;
    readonly tags?: string | undefined;
    readonly type?: "boolean" | "experiment" | "multivariant" | "remote_config" | undefined;
}, {
    readonly count?: number | undefined;
    readonly next?: string | null | undefined;
    readonly previous?: string | null | undefined;
    readonly results?: readonly {
        readonly id?: number | undefined;
        readonly name?: string | undefined;
        readonly key?: string | undefined;
        readonly filters?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly deleted?: boolean | undefined;
        readonly active?: boolean | undefined;
        readonly created_by?: {
            readonly id?: number | undefined;
            readonly uuid?: string | undefined;
            readonly distinct_id?: string | null | undefined;
            readonly first_name?: string | undefined;
            readonly last_name?: string | undefined;
            readonly email?: string | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly role_at_organization?: unknown;
        } | null | undefined;
        readonly created_at?: string | undefined;
        readonly updated_at?: string | null | undefined;
        readonly version?: number | undefined;
        readonly last_modified_by?: {
            readonly id?: number | undefined;
            readonly uuid?: string | undefined;
            readonly distinct_id?: string | null | undefined;
            readonly first_name?: string | undefined;
            readonly last_name?: string | undefined;
            readonly email?: string | undefined;
            readonly is_email_verified?: boolean | null | undefined;
            readonly hedgehog_config?: {
                readonly [x: string]: unknown;
            } | null | undefined;
            readonly role_at_organization?: unknown;
        } | null | undefined;
        readonly ensure_experience_continuity?: boolean | null | undefined;
        readonly experiment_set?: readonly number[] | undefined;
        readonly experiment_set_metadata?: readonly {
            readonly [x: string]: unknown;
        }[] | undefined;
        readonly surveys?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly features?: {
            readonly [x: string]: unknown;
        } | undefined;
        readonly rollback_conditions?: unknown;
        readonly performed_rollback?: boolean | null | undefined;
        readonly can_edit?: boolean | undefined;
        readonly tags?: readonly unknown[] | undefined;
        readonly evaluation_contexts?: readonly unknown[] | undefined;
        readonly usage_dashboard?: number | undefined;
        readonly analytics_dashboards?: readonly number[] | undefined;
        readonly has_enriched_analytics?: boolean | null | undefined;
        readonly user_access_level?: string | null | undefined;
        readonly creation_context?: "early_access_features" | "experiments" | "feature_flags" | "product_tours" | "surveys" | "web_experiments" | undefined;
        readonly is_remote_configuration?: boolean | null | undefined;
        readonly has_encrypted_payloads?: boolean | null | undefined;
        readonly status?: string | undefined;
        readonly evaluation_runtime?: unknown;
        readonly bucketing_identifier?: unknown;
        readonly last_called_at?: string | null | undefined;
        readonly _create_in_folder?: string | undefined;
        readonly _should_create_usage_dashboard?: boolean | undefined;
        readonly is_used_in_replay_settings?: boolean | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=featureFlagsList.d.ts.map