import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const LogsQueryCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly query: Schema.optional<Schema.Struct<{
        readonly dateRange: Schema.optional<Schema.Struct<{
            readonly date_from: Schema.optional<Schema.NullOr<Schema.String>>;
            readonly date_to: Schema.optional<Schema.NullOr<Schema.String>>;
        }>>;
        readonly severityLevels: Schema.optional<Schema.$Array<Schema.Literals<readonly ["trace", "debug", "info", "warn", "error", "fatal"]>>>;
        readonly serviceNames: Schema.optional<Schema.$Array<Schema.String>>;
        readonly orderBy: Schema.optional<Schema.Literals<readonly ["latest", "earliest"]>>;
        readonly searchTerm: Schema.optional<Schema.String>;
        readonly filterGroup: Schema.optional<Schema.$Array<Schema.Struct<{
            readonly key: Schema.optional<Schema.String>;
            readonly type: Schema.optional<Schema.Literals<readonly ["log", "log_attribute", "log_resource_attribute"]>>;
            readonly operator: Schema.optional<Schema.Literals<readonly ["exact", "is_not", "icontains", "not_icontains", "regex", "not_regex", "gt", "lt", "is_date_exact", "is_date_before", "is_date_after", "is_set", "is_not_set"]>>;
            readonly value: Schema.optional<Schema.NullOr<Schema.Unknown>>;
        }>>>;
        readonly limit: Schema.optional<Schema.Number>;
        readonly after: Schema.optional<Schema.String>;
    }>>;
}>;
export type LogsQueryCreateInput = typeof LogsQueryCreateInput.Type;
export declare const LogsQueryCreateOutput: Schema.Struct<{
    readonly query: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
    readonly results: Schema.optional<Schema.$Array<Schema.Struct<{
        readonly uuid: Schema.optional<Schema.String>;
        readonly timestamp: Schema.optional<Schema.String>;
        readonly observed_timestamp: Schema.optional<Schema.String>;
        readonly body: Schema.optional<Schema.String>;
        readonly severity_text: Schema.optional<Schema.String>;
        readonly severity_number: Schema.optional<Schema.Number>;
        readonly level: Schema.optional<Schema.String>;
        readonly trace_id: Schema.optional<Schema.String>;
        readonly span_id: Schema.optional<Schema.String>;
        readonly trace_flags: Schema.optional<Schema.Number>;
        readonly attributes: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
        readonly resource_attributes: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
        readonly event_name: Schema.optional<Schema.String>;
    }>>>;
    readonly hasMore: Schema.optional<Schema.Boolean>;
    readonly nextCursor: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly maxExportableLogs: Schema.optional<Schema.Number>;
}>;
export type LogsQueryCreateOutput = typeof LogsQueryCreateOutput.Type;
/**
 *
 * @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/.
 */
export declare const logsQueryCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly project_id: string;
    readonly query?: {
        readonly after?: string | undefined;
        readonly dateRange?: {
            readonly date_from?: string | null | undefined;
            readonly date_to?: string | null | undefined;
        } | undefined;
        readonly filterGroup?: readonly {
            readonly key?: string | undefined;
            readonly operator?: "exact" | "gt" | "icontains" | "is_date_after" | "is_date_before" | "is_date_exact" | "is_not" | "is_not_set" | "is_set" | "lt" | "not_icontains" | "not_regex" | "regex" | undefined;
            readonly type?: "log" | "log_attribute" | "log_resource_attribute" | undefined;
            readonly value?: unknown;
        }[] | undefined;
        readonly limit?: number | undefined;
        readonly orderBy?: "earliest" | "latest" | undefined;
        readonly searchTerm?: string | undefined;
        readonly serviceNames?: readonly string[] | undefined;
        readonly severityLevels?: readonly ("debug" | "error" | "fatal" | "info" | "trace" | "warn")[] | undefined;
    } | undefined;
}, {
    readonly hasMore?: boolean | undefined;
    readonly maxExportableLogs?: number | undefined;
    readonly nextCursor?: string | null | undefined;
    readonly query?: {
        readonly [x: string]: unknown;
    } | undefined;
    readonly results?: readonly {
        readonly attributes?: {
            readonly [x: string]: string;
        } | undefined;
        readonly body?: string | undefined;
        readonly event_name?: string | undefined;
        readonly level?: string | undefined;
        readonly observed_timestamp?: string | undefined;
        readonly resource_attributes?: {
            readonly [x: string]: string;
        } | undefined;
        readonly severity_number?: number | undefined;
        readonly severity_text?: string | undefined;
        readonly span_id?: string | undefined;
        readonly timestamp?: string | undefined;
        readonly trace_flags?: number | undefined;
        readonly trace_id?: string | undefined;
        readonly uuid?: string | undefined;
    }[] | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=logsQueryCreate.d.ts.map