/**
 * Flattens a GraphQL connection object by extracting its nodes.
 *
 * @param connection - The object containing edges or nodes
 *
 * @returns An array of nodes
 */
export declare const flattenConnection: <T>(connection?: {
    edges?: {
        node: T;
    }[];
    nodes?: T[];
} | null) => T[];
