/**
 * Cloudflare CALLS API
 *
 * Generated from Cloudflare TypeScript SDK.
 * DO NOT EDIT - regenerate with: bun scripts/generate.ts --service calls
 */
import * as Schema from "effect/Schema";
import type * as HttpClient from "effect/unstable/http/HttpClient";
import * as API from "../client/api.ts";
import type { Credentials } from "../credentials.ts";
import { type DefaultErrors } from "../errors.ts";
export interface GetSfuRequest {
    appId: string;
    /** The account identifier tag. */
    accountId: string;
}
export declare const GetSfuRequest: Schema.Schema<GetSfuRequest>;
export interface GetSfuResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const GetSfuResponse: Schema.Schema<GetSfuResponse>;
export type GetSfuError = DefaultErrors;
export declare const getSfu: API.OperationMethod<GetSfuRequest, GetSfuResponse, GetSfuError, Credentials | HttpClient.HttpClient>;
export interface CreateSfuRequest {
    /** Path param: The account identifier tag. */
    accountId: string;
    /** Body param: A short description of Calls app, not shown to end users. */
    name?: string;
}
export declare const CreateSfuRequest: Schema.Schema<CreateSfuRequest>;
export interface CreateSfuResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** Bearer token */
    secret?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const CreateSfuResponse: Schema.Schema<CreateSfuResponse>;
export type CreateSfuError = DefaultErrors;
export declare const createSfu: API.OperationMethod<CreateSfuRequest, CreateSfuResponse, CreateSfuError, Credentials | HttpClient.HttpClient>;
export interface UpdateSfuRequest {
    appId: string;
    /** Path param: The account identifier tag. */
    accountId: string;
    /** Body param: A short description of Calls app, not shown to end users. */
    name?: string;
}
export declare const UpdateSfuRequest: Schema.Schema<UpdateSfuRequest>;
export interface UpdateSfuResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const UpdateSfuResponse: Schema.Schema<UpdateSfuResponse>;
export type UpdateSfuError = DefaultErrors;
export declare const updateSfu: API.OperationMethod<UpdateSfuRequest, UpdateSfuResponse, UpdateSfuError, Credentials | HttpClient.HttpClient>;
export interface DeleteSfuRequest {
    appId: string;
    /** The account identifier tag. */
    accountId: string;
}
export declare const DeleteSfuRequest: Schema.Schema<DeleteSfuRequest>;
export interface DeleteSfuResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const DeleteSfuResponse: Schema.Schema<DeleteSfuResponse>;
export type DeleteSfuError = DefaultErrors;
export declare const deleteSfu: API.OperationMethod<DeleteSfuRequest, DeleteSfuResponse, DeleteSfuError, Credentials | HttpClient.HttpClient>;
export interface ListSfusRequest {
    /** The account identifier tag. */
    accountId: string;
}
export declare const ListSfusRequest: Schema.Schema<ListSfusRequest>;
export interface ListSfusResponse {
    result: {
        created?: string | null;
        modified?: string | null;
        name?: string | null;
        uid?: string | null;
    }[];
}
export declare const ListSfusResponse: Schema.Schema<ListSfusResponse>;
export type ListSfusError = DefaultErrors;
export declare const listSfus: API.PaginatedOperationMethod<ListSfusRequest, ListSfusResponse, ListSfusError, Credentials | HttpClient.HttpClient>;
export interface GetTurnRequest {
    keyId: string;
    /** The account identifier tag. */
    accountId: string;
}
export declare const GetTurnRequest: Schema.Schema<GetTurnRequest>;
export interface GetTurnResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const GetTurnResponse: Schema.Schema<GetTurnResponse>;
export type GetTurnError = DefaultErrors;
export declare const getTurn: API.OperationMethod<GetTurnRequest, GetTurnResponse, GetTurnError, Credentials | HttpClient.HttpClient>;
export interface ListTurnsRequest {
    /** The account identifier tag. */
    accountId: string;
}
export declare const ListTurnsRequest: Schema.Schema<ListTurnsRequest>;
export interface ListTurnsResponse {
    result: {
        created?: string | null;
        modified?: string | null;
        name?: string | null;
        uid?: string | null;
    }[];
}
export declare const ListTurnsResponse: Schema.Schema<ListTurnsResponse>;
export type ListTurnsError = DefaultErrors;
export declare const listTurns: API.PaginatedOperationMethod<ListTurnsRequest, ListTurnsResponse, ListTurnsError, Credentials | HttpClient.HttpClient>;
export interface CreateTurnRequest {
    /** Path param: The account identifier tag. */
    accountId: string;
    /** Body param: A short description of a TURN key, not shown to end users. */
    name?: string;
}
export declare const CreateTurnRequest: Schema.Schema<CreateTurnRequest>;
export interface CreateTurnResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** Bearer token */
    key?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of a TURN key, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const CreateTurnResponse: Schema.Schema<CreateTurnResponse>;
export type CreateTurnError = DefaultErrors;
export declare const createTurn: API.OperationMethod<CreateTurnRequest, CreateTurnResponse, CreateTurnError, Credentials | HttpClient.HttpClient>;
export interface UpdateTurnRequest {
    keyId: string;
    /** Path param: The account identifier tag. */
    accountId: string;
    /** Body param: A short description of a TURN key, not shown to end users. */
    name?: string;
}
export declare const UpdateTurnRequest: Schema.Schema<UpdateTurnRequest>;
export interface UpdateTurnResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const UpdateTurnResponse: Schema.Schema<UpdateTurnResponse>;
export type UpdateTurnError = DefaultErrors;
export declare const updateTurn: API.OperationMethod<UpdateTurnRequest, UpdateTurnResponse, UpdateTurnError, Credentials | HttpClient.HttpClient>;
export interface DeleteTurnRequest {
    keyId: string;
    /** The account identifier tag. */
    accountId: string;
}
export declare const DeleteTurnRequest: Schema.Schema<DeleteTurnRequest>;
export interface DeleteTurnResponse {
    /** The date and time the item was created. */
    created?: string | null;
    /** The date and time the item was last modified. */
    modified?: string | null;
    /** A short description of Calls app, not shown to end users. */
    name?: string | null;
    /** A Cloudflare-generated unique identifier for a item. */
    uid?: string | null;
}
export declare const DeleteTurnResponse: Schema.Schema<DeleteTurnResponse>;
export type DeleteTurnError = DefaultErrors;
export declare const deleteTurn: API.OperationMethod<DeleteTurnRequest, DeleteTurnResponse, DeleteTurnError, Credentials | HttpClient.HttpClient>;
//# sourceMappingURL=calls.d.ts.map