import { IConnection } from "@nestia/fetcher";
import typia from "typia";
import { IApiOrgsCodespacesSecrets } from "../../../../structures/IApiOrgsCodespacesSecrets";
import { response } from "../../../../structures/response";
import { codespaces_minus_org_minus_secret } from "../../../../structures/codespaces_minus_org_minus_secret";
import { body } from "../../../../structures/body";
import { empty_minus_object } from "../../../../structures/empty_minus_object";
export * as public_key from "./public_key";
export * as repositories from "./repositories";
/**
 * List organization secrets.
 * Lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted
 * values.
 *
 * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
 *
 * @tag codespaces
 * @path orgs/:org/codespaces/secrets
 * @nestia Generated by Nestia - https://github.com/samchon/nestia
 */
export declare function getByOrg(connection: IConnection<getByOrg.Headers>, org: string): Promise<getByOrg.Output>;
export declare namespace getByOrg {
    type Headers = IApiOrgsCodespacesSecrets.GetHeader;
    type Output = response;
    const METADATA: {
        readonly method: "GET";
        readonly path: "/orgs/:org/codespaces/secrets";
        readonly request: null;
        readonly response: {
            readonly type: "application/json";
            readonly encrypted: false;
        };
    };
    const path: (org: string) => string;
    const random: (g?: Partial<typia.IRandomGenerator>) => response;
    const simulate: (connection: IConnection<getByOrg.Headers>, org: string) => Output;
}
/**
 * Get an organization secret.
 * Gets an organization development environment secret without revealing its encrypted value.
 *
 * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
 *
 * @tag codespaces
 * @path orgs/:org/codespaces/secrets/:secret_name
 * @nestia Generated by Nestia - https://github.com/samchon/nestia
 */
export declare function getByOrgAndSecret_name(connection: IConnection<getByOrgAndSecret_name.Headers>, org: string, secret_name: string): Promise<getByOrgAndSecret_name.Output>;
export declare namespace getByOrgAndSecret_name {
    type Headers = IApiOrgsCodespacesSecrets.GetHeader;
    type Output = codespaces_minus_org_minus_secret;
    const METADATA: {
        readonly method: "GET";
        readonly path: "/orgs/:org/codespaces/secrets/:secret_name";
        readonly request: null;
        readonly response: {
            readonly type: "application/json";
            readonly encrypted: false;
        };
    };
    const path: (org: string, secret_name: string) => string;
    const random: (g?: Partial<typia.IRandomGenerator>) => codespaces_minus_org_minus_secret;
    const simulate: (connection: IConnection<getByOrgAndSecret_name.Headers>, org: string, secret_name: string) => Output;
}
/**
 * Create or update an organization secret.
 * Creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using
 * [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."
 *
 * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
 *
 * @tag codespaces
 * @path orgs/:org/codespaces/secrets/:secret_name
 * @nestia Generated by Nestia - https://github.com/samchon/nestia
 */
export declare function putByOrgAndSecret_name(connection: IConnection<putByOrgAndSecret_name.Headers>, org: string, secret_name: string, body: putByOrgAndSecret_name.Input): Promise<putByOrgAndSecret_name.Output>;
export declare namespace putByOrgAndSecret_name {
    type Headers = IApiOrgsCodespacesSecrets.PutHeader;
    type Input = body;
    type Output = empty_minus_object;
    const METADATA: {
        readonly method: "PUT";
        readonly path: "/orgs/:org/codespaces/secrets/:secret_name";
        readonly request: {
            readonly type: "application/json";
            readonly encrypted: false;
        };
        readonly response: {
            readonly type: "application/json";
            readonly encrypted: false;
        };
    };
    const path: (org: string, secret_name: string) => string;
    const random: (g?: Partial<typia.IRandomGenerator>) => empty_minus_object;
    const simulate: (connection: IConnection<putByOrgAndSecret_name.Headers>, org: string, secret_name: string, body: putByOrgAndSecret_name.Input) => Output;
}
/**
 * Delete an organization secret.
 * Deletes an organization development environment secret using the secret name.
 *
 * OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.
 *
 * @tag codespaces
 * @path orgs/:org/codespaces/secrets/:secret_name
 * @nestia Generated by Nestia - https://github.com/samchon/nestia
 */
export declare function eraseByOrgAndSecret_name(connection: IConnection<eraseByOrgAndSecret_name.Headers>, org: string, secret_name: string): Promise<void>;
export declare namespace eraseByOrgAndSecret_name {
    type Headers = IApiOrgsCodespacesSecrets.DeleteHeader;
    const METADATA: {
        readonly method: "DELETE";
        readonly path: "/orgs/:org/codespaces/secrets/:secret_name";
        readonly request: null;
        readonly response: {
            readonly type: "application/json";
            readonly encrypted: false;
        };
    };
    const path: (org: string, secret_name: string) => string;
    const random: (g?: Partial<typia.IRandomGenerator>) => void;
    const simulate: (connection: IConnection<eraseByOrgAndSecret_name.Headers>, org: string, secret_name: string) => void;
}
