import * as pulumi from "@pulumi/pulumi";
/**
 * A CTFd file for a challenge.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as ctfd from "@ctfer-io/pulumi-ctfd";
 * import * as fs from "fs";
 *
 * const http = new ctfd.ChallengeDynamic("http", {
 *     category: "misc",
 *     description: "...",
 *     value: 500,
 *     decay: 100,
 *     minimum: 50,
 *     state: "visible",
 *     "function": "logarithmic",
 *     topics: ["Misc"],
 *     tags: [
 *         "misc",
 *         "basic",
 *     ],
 * });
 * const httpFile = new ctfd.File("httpFile", {
 *     challengeId: http.id,
 *     contentb64: fs.readFileSync(".../image.png", { encoding: "base64" }),
 * });
 * ```
 */
export declare class File extends pulumi.CustomResource {
    /**
     * Get an existing File resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FileState, opts?: pulumi.CustomResourceOptions): File;
    /**
     * Returns true if the given object is an instance of File.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is File;
    /**
     * Challenge of the file.
     */
    readonly challengeId: pulumi.Output<string | undefined>;
    /**
     * Base 64 content of the file, perfectly fit the use-cases of complex binaries. You could provide it from the file-system using `filebase64("${path.module}/...")`.
     */
    readonly contentb64: pulumi.Output<string>;
    /**
     * Location where the file is stored on the CTFd instance, for download purposes.
     */
    readonly location: pulumi.Output<string>;
    /**
     * Name of the file as displayed to end-users.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The sha1 sum of the file.
     */
    readonly sha1sum: pulumi.Output<string>;
    /**
     * Create a File resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args?: FileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering File resources.
 */
export interface FileState {
    /**
     * Challenge of the file.
     */
    challengeId?: pulumi.Input<string>;
    /**
     * Base 64 content of the file, perfectly fit the use-cases of complex binaries. You could provide it from the file-system using `filebase64("${path.module}/...")`.
     */
    contentb64?: pulumi.Input<string>;
    /**
     * Location where the file is stored on the CTFd instance, for download purposes.
     */
    location?: pulumi.Input<string>;
    /**
     * Name of the file as displayed to end-users.
     */
    name?: pulumi.Input<string>;
    /**
     * The sha1 sum of the file.
     */
    sha1sum?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a File resource.
 */
export interface FileArgs {
    /**
     * Challenge of the file.
     */
    challengeId?: pulumi.Input<string>;
    /**
     * Base 64 content of the file, perfectly fit the use-cases of complex binaries. You could provide it from the file-system using `filebase64("${path.module}/...")`.
     */
    contentb64?: pulumi.Input<string>;
    /**
     * Location where the file is stored on the CTFd instance, for download purposes.
     */
    location?: pulumi.Input<string>;
    /**
     * Name of the file as displayed to end-users.
     */
    name?: pulumi.Input<string>;
}
