export default createFramebuffer;
export type Attachment = {
    texture: import("./types.js").PexResource;
    target: WebGLRenderingContext.FRAMEBUFFER;
};
/**
 * @typedef {object} Attachment
 * @property {import("./types.js").PexResource} texture
 * @property {WebGLRenderingContext.FRAMEBUFFER} target
 */
declare function createFramebuffer(ctx: any, opts: any): {
    class: string;
    handle: any;
    target: any;
    drawBuffers: any[];
    color: any[];
    depth: any;
    width: number;
    height: number;
    refCount: number;
    _update: typeof updateFramebuffer;
    _dispose(): void;
};
declare function updateFramebuffer(ctx: any, framebuffer: any, opts: any): void;
