import { type StateMachineDef } from "../state-machine.js";
import type { TaskDefaults, TaskList } from "../types.js";
export declare const PROJECT_ORGANIZATION_QUERY = "query Project($owner: String!, $number: Int!) {\n  organization(login: $owner) {\n    projectV2(number: $number) {\n      id\n      title\n      field(name: \"Status\") {\n        ... on ProjectV2SingleSelectField {\n          id\n          name\n          options { id name color description }\n        }\n      }\n      fields(first: 100) {\n        nodes {\n          ... on ProjectV2SingleSelectField {\n            id\n            name\n            options { id name color description }\n          }\n        }\n      }\n    }\n  }\n}";
export declare const PROJECT_USER_QUERY = "query Project($owner: String!, $number: Int!) {\n  user(login: $owner) {\n    projectV2(number: $number) {\n      id\n      title\n      field(name: \"Status\") {\n        ... on ProjectV2SingleSelectField {\n          id\n          name\n          options { id name color description }\n        }\n      }\n      fields(first: 100) {\n        nodes {\n          ... on ProjectV2SingleSelectField {\n            id\n            name\n            options { id name color description }\n          }\n        }\n      }\n    }\n  }\n}";
export interface GhIssuesBackendDeps {
    repo: string;
    project?: {
        owner: string;
        number: number;
    };
    filter?: string;
    state?: {
        labelPrefix?: string;
    };
    stateMachine?: StateMachineDef;
    defaults: Required<TaskDefaults>;
    token: string;
    endpoint: string;
    fetch?: typeof fetch;
}
export declare function ghIssuesBackend(deps: GhIssuesBackendDeps): Promise<TaskList>;
